Class SimpleFileLoggingFormatter

java.lang.Object
java.util.logging.Formatter
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

    Fields 
    Modifier and Type Field Description
    protected static java.lang.String LINE_SEPERATOR  
  • Constructor Summary

    Constructors 
    Constructor Description
    SimpleFileLoggingFormatter()
    Empty constructor.
  • Method Summary

    Modifier and Type Method Description
    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 Details

    • LINE_SEPERATOR

      protected static final java.lang.String LINE_SEPERATOR
  • Constructor Details

  • Method Details

    • 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