Package com.guicedee.logger.logging
Class LogSingleLineFormatter
java.lang.Object
java.util.logging.Formatter
com.guicedee.logger.logging.LogSingleLineFormatter
public class LogSingleLineFormatter
extends java.util.logging.Formatter
standard colour formatter for console output
- Since:
- 14 Dec 2016
- Author:
- GedMarc
-
Constructor Summary
Constructors Constructor Description LogSingleLineFormatter()The log colour formatter -
Method Summary
Modifier and Type Method Description java.lang.Stringformat(java.util.logging.LogRecord record)Formats according to level
-
Constructor Details
-
LogSingleLineFormatter
public LogSingleLineFormatter()The log colour formatter
-
-
Method Details
-
format
public java.lang.String format(java.util.logging.LogRecord record)Formats according to level- Specified by:
formatin classjava.util.logging.Formatter- Parameters:
record- The log record coming in- Returns:
- The string to render on the output
-