1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-22 10:08:54 +00:00

docs(adonis): adjustments

This commit is contained in:
Julien Le Coupanec 2020-04-18 12:21:29 +02:00
parent 0199acf956
commit 35039d583f

View File

@ -290,14 +290,14 @@ const Logger = use('Logger')
Logger.level = 'debug' // Sed default config level Logger.level = 'debug' // Sed default config level
Logger.emerg(msg, data) // Print an emergency log (level 0). Logger.emerg(msg[, data]) // Print an emergency log (level 0).
Logger.alert(msg, data) // Print an alert log (level 1). Logger.alert(msg[, data]) // Print an alert log (level 1).
Logger.crit(msg, data) // Print a critical log (level 2). Logger.crit(msg[, data]) // Print a critical log (level 2).
Logger.error(msg, data) // Print an error log (level 3). Logger.error(msg[, data]) // Print an error log (level 3).
Logger.warning(msg, data) // Print a warning log (level 4). Logger.warning(msg[, data]) // Print a warning log (level 4).
Logger.notice(msg, data) // Print a notice log (level 5). Logger.notice(msg[, data]) // Print a notice log (level 5).
Logger.info(msg, data) // Print an info log (level 6). Logger.info(msg[, data]) // Print an info log (level 6).
Logger.debug(msg, data) // Print a debug log (level 7). Logger.debug(msg[, data]) // Print a debug log (level 7).
Logger.transport(transport) // Switch transport on the fly. Logger.transport(transport) // Switch transport on the fly.