GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SVK::LOGGER (3)

.ds Aq ’

NAME

SVK::Logger - logging framework for SVK

CONTENTS

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



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SVK::LOGGER (3) 2008-08-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.