Scroll to navigation

LedgerSMB::Log(3pm) User Contributed Perl Documentation LedgerSMB::Log(3pm)
 

NAME

LedgerSMB::Log - LedgerSMB logging and debugging framework

SYOPSIS

This module maintains a connection to the LedgerSMB log file (Separate from the apache error log, for now)

METHODS

This module is loosely based on Apache::Log.
Available methods: (in order, most to least severe)
emerg
alert
crit
error
warn
notice
info
debug
longmess
This uses Carp to make a debug message with the full stack backtrace, including function arguments, where Carp can infer them.
dump
This uses Data::Dumper to dump the contents of a data structure as a debug message.
print
Uses sprintf to format a log line with a timestamp and a message.
2014-06-10 perl v5.18.2