pumlhorse

Logging

Log

A normal level of log message, this is generally informational or helpful for the user.

- log: You've successfully logged in!

Debug

Less important information that is only visible if the user has enabled the isVerbose flag.

- debug: Logging into https://login.example.org

Warn

This log level is not necessarily an error, but it should be brought to the user’s attention.

- warn: Your password will expire in 5 days

Error

This level is used for error information

- error: Your username and/or password is incorrect