Skip to content
Browse files

add summary table [suggested by David Golden]

  • Loading branch information...
1 parent 687d8c5 commit b501cdf9b09992c4b21ed14e489be66fd1b981c1 Steven Haryanto (on PC) committed
Showing with 13 additions and 2 deletions.
  1. +13 −2 lib/Log/Any/App.pm
View
15 lib/Log/Any/App.pm
@@ -13,8 +13,19 @@ Most of the time you only need to do this:
# or, in command line
% perl -MLog::Any::App -MModuleThatUsesLogAny -e'...'
-You then customize level using environment variables or command-line options
-(won't interfere with command-line processing modules like Getopt::Long etc):
+Here's the default logging that Log::Any::App setups for you (all can be
+customized):
+
+ Condition screen file syslog dir
+ --------------------------------+-------+------------------+-------------+---
+ -e (one-liners) y - - -
+ Scripts running as normal user y ~/NAME.log - -
+ Scripts running as root y /var/log/NAME.log - -
+ Daemons y y - -
+
+You can customize level from outside the script, using environment variables or
+command-line options (won't interfere with command-line processing modules like
+Getopt::Long etc):
% DEBUG=1 script.pl
% LOG_LEVEL=trace script.pl

0 comments on commit b501cdf

Please sign in to comment.
Something went wrong with that request. Please try again.