![]() |
![]()
| ![]() |
![]()
NAMELog::Handler::Output::Screen - Log messages to the screen. SYNOPSISuse Log::Handler::Output::Screen; my $screen = Log::Handler::Output::Screen->new( log_to => "STDERR", dump => 1, ); $screen->log($message); DESCRIPTIONThis output module makes it possible to log messages to your screen. METHODSnew()Call new() to create a new Log::Handler::Output::Screen object. The following options are possible:
log()Call log() if you want to log a message to the screen. Example: $screen->log("this message goes to the screen"); validate()Validate a configuration. reload()Reload with a new configuration. errstr()This function returns the last error message. PREREQUISITESData::Dumper Params::Validate EXPORTSNo exports. REPORT BUGSPlease report all bugs to <jschulz.cpan(at)bloonix.de>. If you send me a mail then add Log::Handler into the subject. AUTHORJonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHTCopyright (C) 2007-2009 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|