Implement this method to determine how the log message is written.
Implement this method to determine how the log message is written.
level of the message
identification of class that created the log message
log message
Generates a log message as a string and calls the write method.
Generates a log message as a string and calls the write method.
The default implementation generates a log message based on the prefix, suffix, message string, and log arguments, and passes the generated log message, level, and logId to LogWriter#write.
Can be overridden if more control is needed over the logging mechanism and/or log arguments are needed as separate entities.
level of the message
identification of class that created the log message
printf-style format string
arguments passed to the logger, matching the format string
Override to change the prefix string of the log message.
Override to change the prefix string of the log message.
By default, the prefix is the empty string.
level of the message
identification of class that created the log message
the prefix to use for log messages. Defaults to the empty string if not overridden.
Override to change the suffix string of the log message.
Override to change the suffix string of the log message.
By default, the suffix is the empty string.
level of the message
identification of class that created the log message
the suffix to use for log messages. Defaults to the empty string if not overridden.
Abstract log writer, which can be overridden to create a custom log writer.