From 4da645ccf057a01c56ef2dc03714287009c634aa Mon Sep 17 00:00:00 2001 From: simbabque Date: Mon, 25 Aug 2014 14:04:08 +0200 Subject: [PATCH 1/2] add core log level to Dancer2::Manual #649 --- lib/Dancer2/Manual.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Dancer2/Manual.pod b/lib/Dancer2/Manual.pod index b39ed1b71..4cf46084e 100644 --- a/lib/Dancer2/Manual.pod +++ b/lib/Dancer2/Manual.pod @@ -586,6 +586,7 @@ start the logger engine in your config file: Then you can choose which kind of messages you want to actually log: + log: 'core' # will log all messages, including some from Dancer2 itself log: 'debug' # will log debug, info, warning and errors log: 'info' # will log info, warning and errors log: 'warning' # will log warning and errors @@ -595,7 +596,8 @@ A directory appdir/logs will be created and will host one logfile per environment. The log message contains the time it was written, the PID of the current process, the message and the caller information (file and line). -To log messages, use the debug, info, warning and error methods, for instance: +To log messages, use the C, C, C and C methods, +for instance: debug "This is a debug message"; From fa0c99f0408549c5134656eb6cd2b95ab1f7b22c Mon Sep 17 00:00:00 2001 From: Sawyer X Date: Sat, 13 Sep 2014 01:18:05 +0200 Subject: [PATCH 2/2] reflect changes --- Changes | 1 + 1 file changed, 1 insertion(+) diff --git a/Changes b/Changes index 7bb2bde67..65bb52fa0 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ [ DOCUMENTATION ] * GH #667: Fix typo in cookbook pod. (Lindsey Beesley) + * GH #649, #670: Document core logger. (simbabque) 0.150000 2014-08-17 01:35:16CEST+0200 Europe/Amsterdam