ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



SVK::Logger(3)                       User Contributed Perl Documentation                      SVK::Logger(3)



NAME
       SVK::Logger - logging framework for SVK

SYNOPSIS
         use 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.

MOTIVATION
       Ideally, 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.8.8                                      2006-12-28                                   SVK::Logger(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.