Help for this page

Select Code to Download


  1. or download this
    info  'This is an info log item'.
    debug "the value of this variable is: '$this'"
    
  2. or download this
    # log die, warn, info, and debug events to mylog.log, but don't
    # show debug events on the console.
    use Log ( file=>'mylog.log', warn => 2, info => 2, debug => 1 );
    
  3. or download this
    package Log;
    
    ...
    1;    # modules must return a true value.
    
    __END__