Class LoggerFactory.ConsoleFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- io.gitlab.rychly.gphotos_uploader.logger.LoggerFactory.ConsoleFormatter
-
- Enclosing class:
- LoggerFactory
public static class LoggerFactory.ConsoleFormatter extends java.util.logging.Formatter
-
-
Constructor Summary
Constructors Constructor Description ConsoleFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.util.logging.LogRecord record)
Format the given log record and return the formatted string.
-
-
-
Method Detail
-
format
public java.lang.String format(java.util.logging.LogRecord record)
Format the given log record and return the formatted string.The resulting formatted String will normally include a localized and formatted version of the LogRecord's message field. It is recommended to use the
Formatter.formatMessage(java.util.logging.LogRecord)
convenience method to localize and format the message field.- Specified by:
format
in classjava.util.logging.Formatter
- Parameters:
record
- the log record to be formatted.- Returns:
- the formatted log record
-
-