Permalink
Browse files

add faq

  • Loading branch information...
sharyanto committed Apr 7, 2011
1 parent b65699c commit 04e210e64c7d23aac0243ee25f766066d4d77a46
Showing with 11 additions and 0 deletions.
  1. +11 −0 lib/Log/Any/App.pm
View
@@ -1331,6 +1331,17 @@ sub import {
=head1 FAQ
+=head2 Why?
+
+I initially wrote Log::Any::App because I'm sick of having to parse command-line
+options to set log level like --verbose, --log-level=debug for every script.
+Also, before using Log::Any I previously used Log4perl directly and modules
+which produce logs using Log4perl cannot be directly use'd in oneliners without
+Log4perl complaining about uninitialized configuration or some such. Thus, I
+like Log::Any's default null adapter and want to settle using Log::Any for any
+kind of logging. Log::Any::App makes it easy to output Log::Any logs in your
+scripts and even oneliners.
+
=head2 What's the benefit of using Log::Any::App?
You get all the benefits of Log::Any, as what Log::Any::App does is just wrap

0 comments on commit 04e210e

Please sign in to comment.