|
NameOpenXPKI::Server::Log - logging implementation for OpenXPKIDescriptionThis is the logging layer of OpenXPKI. Mainly we use Log::Log4perl. The important difference is that we replace the original DBI appender with our own appender which can handle some funny details of some special databases. Additionally our log function do some special things to meet our requirements.FunctionsConstructorThe constructor only accepts the named parameter "CONFIG" which can either be
auditReturns the audit logger of the given subcategory openxpki.audit.$subcat.Positional parameters:
log DEPRECATEDThis is the old method used in pre 1.18 and shouldnt be used any longer! Each call triggers a deprecation warning with facility "openxpki.deprecated"This function creates a new log message it accept the following parameters:
Default is "system.fatal: [OpenXPKI] undefined message". debugShortcut method that logs a message with "PRIORITY => "debug"".Positional parameters:
infoShortcut method that logs a message with "PRIORITY => "info"". Similar to "debug".warnShortcut method that logs a message with "PRIORITY => "warn"". Similar to "debug".errorShortcut method that logs a message with "PRIORITY => "error"". Similar to "debug".fatalShortcut method that logs a message with "PRIORITY => "fatal"". Similar to "debug".
Visit the GSP FreeBSD Man Page Interface. |