We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Logging to the Console

We're going to start with console logging, for a couple of reasons.

  1. Linko is already logging to the console!
  2. In most cases, even when using other logging targets, most applications log to the console during development.

Adding Color

Text colors get in the way when logs are ingested into a management system, but for local development and debugging they can be a great addition. Colors help highlight log levels and key information.

Assignment

Upgrade the console logger to a development-friendly handler.

With the server running, run and submit the CLI tests from the root of the Linko repo.