Query: svk::logger
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SVK::Logger(3) User Contributed Perl Documentation SVK::Logger(3)NAMESVK::Logger - logging framework for SVKSYNOPSISuse SVK::Logger; $logger->warn('foo'); $logger->info('bar'); or use SVK::Logger '$foo'; $foo->error('bad thingimajig'); DESCRIPTION SVK::Logger is a wrapper around Log::Log4perl. When using the module, it imports into your namespace a variable called $logger (or you can pass a variable name to import to decide what the variable should be) with a category based on the name of the calling module.MOTIVATIONIdeally, for support requests, if something is not going the way it should be we should be able to tell people: "rerun the command with the SVKLOGLEVEL environment variable set to DEBUG and mail the output to $SUPPORTADDRESS". On Unix, this could be accomplished in one command like so: env SVKLOGLEVEL=DEBUG svk <command that failed> 2>&1 | mail $SUPPORTADDRESS perl v5.10.0 2008-08-04 SVK::Logger(3)
| Related Man Pages |
|---|
| svk::help::environment(3) - osx |
| svk::log::filter::grep(3) - osx |
| svk::path(3) - osx |
| courier::filter::logger::file(3pm) - debian |
| courier::filter::logger::syslog(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Hearing Aid for OSX 10.12.x and greater. |
| Undeletable file |
| To print diamond asterisk pattern based on inputs |
| My first PERL incarnation... Audio Oscillograph |