man XTM::Log () - Topic Map Logger

NAME

XTM::Log - Topic Map Logger

SYNOPSIS

  use XTM::Log;

DESCRIPTION

This package provides some logging facilities for the XTM::* packages. Basically, it provides STDERR and file based logging.

INTERFACE

Global Variables

Following variables can be set to control the behavior of this package:

Methods

flog
provides some basic file logging facilities. Please refer to the global variables for configuration. It logs messages to the current CWlogfile whenever called and the passed loglevel is at least the minimum (as configured via the global variable CWloglevel). Parameters are: Here you can provide some descriptive text of the module logging. current loglevel Any additional parameters are copied (for SCALARs) or output via Data::Dumper::Dumper. Example:
   flog ('MyProgram', 4, 'Logging a line', $line, \%context);
elog
provides some basic STDERR logging facilities. Otherwise see CWflog. Example:
   elog ('MyProgram', 4, 'Logging a line', $line, \%context);

SEE ALSO

XTM

AUTHOR INFORMATION

Copyright 200[1-2], Robert Barta <rho@telecoma.net>, All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. http://www.perl.com/perl/misc/Artistic.html