Logger

Get familiar with the logger.

We'll cover the following...

When we build an application, we may need to log something for debugging or recording purposes. Adonis has a built-in logger based on the popular Winston package. The logger comes with two drivers: console and file. These drivers can be configured inside config/app.js.

Logging levels and methods

The logger uses ...