IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16302


Ignore:
Timestamp:
Feb 4, 2008, 6:57:56 PM (18 years ago)
Author:
eugene
Message:

init logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/lib/Nebulous/Client.pm

    r16232 r16302  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Client.pm,v 1.38 2008-01-25 20:54:04 jhoblitt Exp $
     3# $Id: Client.pm,v 1.39 2008-02-05 04:57:56 eugene Exp $
    44
    55package Nebulous::Client;
     
    7070        },
    7171    );
     72
     73    Nebulous::Client::Log->init;
     74    $log = get_logger( "Nebulous::Client" );
     75    $log->level( $LEVELS{ lc $args{ 'trace' } } );
     76
     77    # this has to be after the log level is set
     78    $log->debug( "args: @_" );
    7279
    7380    $log->debug( "entered - @_" );
Note: See TracChangeset for help on using the changeset viewer.