com.neeve.trace
Class TraceFormatterRaw

java.lang.Object
  extended by java.util.logging.Formatter
      extended by com.neeve.trace.TraceFormatterRaw

public final class TraceFormatterRaw
extends Formatter

Class used when trace messages need to be passed through without formatting.

This class should be used when the user wishes for trace messages to be passed through without any formatting whatsoever.

Threading:
This class is safe for concurrent access by multiple threads.

Constructor Summary
TraceFormatterRaw()
           
 
Method Summary
static TraceFormatterRaw create()
          Create a formatter.
 String format(LogRecord record)
          Format a trace message.
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceFormatterRaw

public TraceFormatterRaw()
Method Detail

create

public static TraceFormatterRaw create()
Create a formatter.

Threading:
This method is safe for concurrent access by multiple threads

format

public final String format(LogRecord record)
Format a trace message.

This method returns the trace message without formatting.

Specified by:
format in class Formatter
Threading:
This method is safe for concurrent access by multiple threads


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.