Acrux

 view release on metacpan or  search on metacpan

lib/Acme/Crux/Plugin/Log.pm  view on Meta::CPAN

140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
The B<prefix> is prepended to every C<handled> log message
 
Default: C<logprefix> command line option or C<logprefix> application argument
or C<LogPrefix> configuration value or C<null> otherwise
 
=head2 provider
 
    $app->plugin(Log => undef, {provider => 'syslog'});
 
This option select the provider of logging. Avalabled providers:
C<logger>, C<handler>, C<file> and C<syslog>.
 
Default: C<logprovider> command line option or C<logprovider> application argument
or C<LogProvider> configuration value or C<file> otherwise
 
=head2 short
 
    $app->plugin(Log => undef, {short => 1});
 
Generate short log messages without a timestamp but with log level prefix



( run in 1.560 second using v1.01-cache-2.11-cpan-49f99fa48dc )