commit - f976eb7d37ee1bfb2d1ad04ea7d6aad88882db11
commit + 923b1a5885e0ebbe4058e357c435562363e30c7a
blob - 727c6b5dc6737c702841433ec7376f6591cd308e
blob + f13ea4b61dbeea6682d0eab7b9aaecea3670291b
--- lib/IRCNOW/Logger.pm
+++ lib/IRCNOW/Logger.pm
our @EXPORT_OK = qw(debug info warn error NONE ERRORS WARNINGS INFO DEBUG ALL JSON SUGAR);
use constant {
- NONE => 0,
- ERRORS => 1,
+ NONE => 0,
+ ERRORS => 1,
WARNINGS => 2,
- INFO => 3,
- DEBUG => 4,
- ALL => 5,
+ INFO => 3,
+ DEBUG => 4,
+ ALL => 5,
};
use constant {
SUGAR => 0,
- JSON => 1,
+ JSON => 1,
};
$instance ||= bless {
'verbosity' => DEBUG,
'printType' => JSON,
- 'format' => ":timestamp [:loglevel%5] :package%8 :fileline%10 :msg",
+ 'format' => ":timestamp [:loglevel%5] :package%8 :fileline%10 :msg",
}, $class;