Syslog logging plugin for device::modem class
use Device::Modem;
my $box = new Device::Modem( log => 'syslog', ... ); ...
Example log class for Device::Modem that logs all modem activity, commands, ... to syslog
It is loaded automatically at Device::Modem startup, only if you specify \*(C`syslog\*(C' value to \*(C`log\*(C' parameter.
If you don't have Sys::Syslog additional module installed, you will not be able to use this logging plugin, and you should better leave the default logging (to text file).
\$1
\*(C`Sys::Syslog\*(C' None
Cosimo Streppone, [email protected]
(C) 2002 Cosimo Streppone, [email protected]
This library is free software; you can only redistribute it and/or modify it under the same terms as Perl itself.
\*(C`Device::Modem\*(C' \*(C`Device::Modem::Log::File\*(C'