Event::RPC::Logger(3pm) | User Contributed Perl Documentation | Event::RPC::Logger(3pm) |
Event::RPC::Logger - Logging facility for Event::RPC
use Event::RPC::Server; use Event::RPC::Logger; my $server = Event::RPC::Server->new ( ... logger => Event::RPC::Logger->new( filename => "/var/log/myserver.log", fh_lref => [ $fh, $sock ], min_level => 2, ), ... ); $server->start;
This modules implements a simple logging facility for the Event::RPC framework. Log messages may be written to a specific file and/or a bunch of filehandles, which may be sockets as well.
This is a list of options you can pass to the new() constructor:
Jörn Reder <joern AT zyn.de>
Copyright (C) 2005-2015 by Jörn Reder <joern AT zyn.de>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2022-12-12 | perl v5.36.0 |