David Davis > Sprocket-0.07 > Sprocket::Logger::Basic

Download:
Sprocket-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Sprocket::Logger::Basic - Basic logging for Sprocket

SYNOPSIS ^

my $log = Sprocket::Logger::Basic->new(); $log->put( $server, { v => 4, msg => 'Hello world' } );

ABSTRACT ^

Sprocket::Logger::Basic logs to STDERR and

METHODS ^

put( $sprocket_component => { v => $log_level, msg => $log_msg } );

$sprocket_component is either a client or server object. This will write a log line out to STDERR.

SEE ALSO ^

Sprocket

AUTHOR ^

David Davis <xantus@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2006-2007 by David Davis

Same as Perl, see the LICENSE file

syntax highlighting: