Query: device::modem::log::file
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Device::Modem::Log::File(3pm) User Contributed Perl Documentation Device::Modem::Log::File(3pm)NAMEDevice::Modem::Log::File - Text files logging plugin for Device::Modem classSYNOPSISuse Device::Modem; my $box = Device::Modem->new( log => 'file', ... ); my $box = Device::Modem->new( log => 'file,name=/var/log/mymodem.log', ... ); ...DESCRIPTIONThis is meant for an example log class to be hooked to "Device::Modem" to provide one's favourite logging mechanism. You just have to implement your own "new()", "write()" and "close()" methods. Default text file is "/var/log/modem.log". On Windows platforms, this goes into "%WINBOOTDIR%/temp/modem.log". By default, if the folder of the log file does not exist, it is created. This class is loaded automatically by "Device::Modem" class when an object is instantiated, and it is the default logging mechanism for "Device::Modem" class. Normally, you should not need to use this class directly, because there are many other zillions of modules that do logging better than this. Also, it should be pondered whether to replace "Device::Modem::Log::File" and mates with those better classes in a somewhat distant future. REQUIRES Device::Modem EXPORTS NoneAUTHORCosimo Streppone, cosimo@cpan.orgCOPYRIGHT(C) 2002 Cosimo Streppone, <cosimo@cpan.org> This library is free software; you can only redistribute it and/or modify it under the same terms as Perl itself.SEE ALSODevice::Modem Device::Modem::Log::Syslog perl v5.8.8 2005-04-30 Device::Modem::Log::File(3pm)
Similar Topics in the Unix Linux Community |
---|
Log file - permission |
Urgent: Filtering a File |
Use grep sed or awk to extract string from log file and put into CSV |
Modem connection between two local PCs |
Hitachi Device Manager Agent for HPUX |