Yo-An Lin (林佑安) > Vimana-2.26 > Vimana::Logger

Download:
Vimana-2.26.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

Vimana::Logger - logging framework for Vimana

SYNOPSIS ^

  use Vimana::Logger;
  
  $logger->warn('foo');
  $logger->info('bar');

or

  use Vimana::Logger '$foo';
  
  $foo->error('bad thingimajig');

DESCRIPTION

Vimana::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.

this class is from SVK::Logger;

syntax highlighting: