Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.fluidsynth.api
Class CustomLogFormatter  view CustomLogFormatter download CustomLogFormatter.java

java.lang.Object
  extended byjava.util.logging.Formatter
      extended byorg.fluidsynth.api.CustomLogFormatter

public class CustomLogFormatter
extends java.util.logging.Formatter

Log formatter that produces simple, single line, log entries.


Field Summary
(package private)  java.text.SimpleDateFormat sdf
           
 
Constructor Summary
CustomLogFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord rec)
          Formats a LogRecord into a string.
 
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

sdf

java.text.SimpleDateFormat sdf
Constructor Detail

CustomLogFormatter

public CustomLogFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord rec)
Description copied from class: java.util.logging.Formatter
Formats a LogRecord into a string. Usually called by handlers which need a string for a log record, for example to append a record to a log file or to transmit a record over the network.