Kieker 1.12

kieker.common.logging
Class SimpleFileLoggingFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by kieker.common.logging.SimpleFileLoggingFormatter

public class SimpleFileLoggingFormatter
extends java.util.logging.Formatter

A formatter for the logging to files which is used by the Kieker tools.

Since:
1.10
Author:
Nils Christian Ehmke

Field Summary
protected static java.lang.String LINE_SEPERATOR
           
 
Constructor Summary
SimpleFileLoggingFormatter()
          Empty constructor.
 
Method Summary
protected  void fillStringBuilderWithMessage(java.lang.StringBuilder sb, java.util.logging.LogRecord record)
          Populates the string builder with logging information.
 java.lang.String format(java.util.logging.LogRecord record)
           
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINE_SEPERATOR

protected static final java.lang.String LINE_SEPERATOR
Constructor Detail

SimpleFileLoggingFormatter

public SimpleFileLoggingFormatter()
Empty constructor.

Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Specified by:
format in class java.util.logging.Formatter

fillStringBuilderWithMessage

protected void fillStringBuilderWithMessage(java.lang.StringBuilder sb,
                                            java.util.logging.LogRecord record)
Populates the string builder with logging information.

Parameters:
sb - the string builder
record - one log record to be used for population of the string builder

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net