You can use the
console API to log messages, objects, errors, warnings, debug information and more.
Four levels of logs are accepted:
lagon dev, logs are displayed in the terminal.
When deployed, logs are displayed in the Logs tab of your Functions. Here, you can filter the logs by the levels described above, and by the date at which they were logged.
The logs list refreshes automatically every five seconds.
Logs are stored for 7 days.