Write a log message to an alternative log.
Write a log message to an alternative log.
the category for the message. For log files, this will be part of the file name. The following categories are often used: server, client, gc, and time.
fields to be included in the log message.
an optional exception to be logged together with its stack trace.
optional id of a request
the time to be written in the log. If not specified the default is the time this method is called.
Writes a debug level log message.
Writes a debug level log message.
the message to be logged.
an optional exception to be logged together with its stack trace.
optional id of a request
Writes an error level log message.
Writes an error level log message.
the message to be logged.
an optional exception to be logged together with its stack trace.
optional id of a request
Writes a fatal level log message.
Writes a fatal level log message.
the message to be logged.
an optional exception to be logged together with its stack trace.
optional id of a request
Writes an info level log message.
Writes an info level log message.
the message to be logged.
an optional exception to be logged together with its stack trace.
optional id of a request
Writes a trace level log message.
Writes a trace level log message.
the message to be logged.
an optional exception to be logged together with its stack trace.
optional id of a request
Writes a warn level log message.
Writes a warn level log message.
the message to be logged.
an optional exception to be logged together with its stack trace.
optional id of a request
This class provides the methods needed for logging. It is accessed by including one of the traits ClassSupport or ActorSupport.