From: Tyler Riddle Date: Mon, 5 Nov 2012 16:22:39 +0000 (-0800) Subject: comment what the log levels are for X-Git-Tag: v0.003001_01~91 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9de32e1d7e5f896e00a8d14aeb2103be94b047f2;p=scpubgit%2FObject-Remote.git comment what the log levels are for --- diff --git a/lib/Object/Remote/Logging.pm b/lib/Object/Remote/Logging.pm index 1c239a7..e7da88a 100644 --- a/lib/Object/Remote/Logging.pm +++ b/lib/Object/Remote/Logging.pm @@ -13,8 +13,19 @@ sub router { } } +#log level descriptions +#info - standard log level - normal program output for the end user +#warn - output for program that is executing quietly +#error - output for program that is running more quietly +#fatal - it is not possible to continue execution; this level is as quiet as is possible +#verbose - output for program executing verbosely (-v) +#debug - output for program running more verbosely (-v -v) +#trace - output for program running extremely verbosely (-v -v -v) sub arg_levels { - return [qw( trace debug verbose info warn error )]; + #the order of the log levels is significant with the + #most verbose level being first in the list and the + #most quiet as the last item + return [qw( trace debug verbose info warn error fatal )]; } #this is invoked on all nodes