com.cosylab.epics.caj.util.logging
Class ConsoleLogFormatter
java.lang.Object
java.util.logging.Formatter
com.cosylab.epics.caj.util.logging.ConsoleLogFormatter
public class ConsoleLogFormatter
- extends Formatter
An implementation of java.util.logging.Formatter.
Produces single line log reports meant to go to the console.
- Author:
- Matej Sekoranja (matej.sekoranjaATcosylab.com)
|
Field Summary |
static String |
KEY_TRACE
System property key to enable trace messages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_TRACE
public static String KEY_TRACE
- System property key to enable trace messages.
ConsoleLogFormatter
public ConsoleLogFormatter()
format
public String format(LogRecord record)
- Format the given LogRecord.
- Specified by:
format in class Formatter
- Parameters:
record - the log record to be formatted.
- Returns:
- a formatted log record
Copyright © 2004-2013 Cosylab. All Rights Reserved.