NAME
Synapse::CLI::Logger - yet another logging mechanism
About Synapse's Open Telephony Toolkit
Synapse::Logger is a part of Synapse's Wholesale Open Telephony Toolkit.
As we are refactoring our codebase, we at Synapse have decided to release a substantial portion of our code under the GPL. We hope that as a developer, you will find it as useful as we have found open source and CPAN to be of use to us.
What is Synapse::Logger all about
Does what it says on the tin.
SYNOPSIS
use Synapse::Logger;
logger ("some stuff"); # uses $0 as logname...
logger (logname => "some stuff"); # specifies logname...
Or on the command-line
synapse-logger logname "some stuff"
API
GLOBALS
- $Synapse::Logger::VERSION - library version number
- $Synapse::Logger::BASE_DIR - points to the directory where logfiles live.
logger($message)
Exported function that logs stuff.
EXPORTS
function logger()
BUGS
Please report them to me. Patches always welcome...
AUTHOR
Jean-Michel Hiver, jhiver (at) synapse (dash) telecom (dot) com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.