NAME
DBIx::PgLink::Logger - conditionally redirect message to PostgreSQL log
SUBROUTINES
trace_level
-
trace_level($level); $level = trace_level();
Set or get tracing level. Exported by default.
0 - no trace
1 - general messages for user
2 - detailed messages for user
3,4,5 - verbose trace for developer
trace_msg
-
trace_msg($severity, $message);
Write message to log. Exported by default.
Severity is PostgreSQL message level for
elog
. Possible values:'DEBUG'
'LOG'
'INFO'
'NOTICE'
'WARNING'
'ERROR'. Raise an exception, like
die
.