Package org.syncany.config
Class LogFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- org.syncany.config.LogFormatter
-
public class LogFormatter extends java.util.logging.Formatter
The log formatter implements aFormatter
. It is used by the application's logging functionality to pretty-print the log output.Log format:
- Date/time
- Logger name
- Thread name
- Log level
- Log message
Note: This class might not be directly referenced through code Instead, it can be referenced (and instantiated) using a logging.properties file.
-
-
Constructor Summary
Constructors Constructor Description LogFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.util.logging.LogRecord record)
-
-
-
Constructor Detail
-
LogFormatter
public LogFormatter()
-
-
Method Detail
-
format
public java.lang.String format(java.util.logging.LogRecord record)
- Specified by:
format
in classjava.util.logging.Formatter
-
-