Manual Pages for UNIX Darwin command on man SVK::Logger
MyWebUniversity

Manual Pages for UNIX Darwin command on man SVK::Logger

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. MMOOTTIIVVAATTIIOONN 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 2>&1 | mail $SUPPORTADDRESS

perl v5.8.8 2006-12-28 SVK::Logger(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™