commit 923b1a5885e0ebbe4058e357c435562363e30c7a from: TheLion date: Thu Jul 06 01:02:50 2023 UTC ci: linting commit - f976eb7d37ee1bfb2d1ad04ea7d6aad88882db11 commit + 923b1a5885e0ebbe4058e357c435562363e30c7a blob - 727c6b5dc6737c702841433ec7376f6591cd308e blob + f13ea4b61dbeea6682d0eab7b9aaecea3670291b --- lib/IRCNOW/Logger.pm +++ lib/IRCNOW/Logger.pm @@ -17,17 +17,17 @@ my $cyan = "\033[36m"; 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, }; @@ -201,7 +201,7 @@ sub new { $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;