org.openmdx.kernel.log
Class LogFormatterFactory

java.lang.Object
  extended by org.openmdx.kernel.log.LogFormatterFactory

public class LogFormatterFactory
extends Object

The LogFormatterFactory creates log formatters working on specific log formats. A log format may look like:

 "${logger}|${time}|${level}|${logsource}|${host}|${thread}|" +
      "${class}|${method}|${line}|${summary}|${detail}"
 


Method Summary
static LogFormatter createHtmlFormatter(String format)
          Creates a new html log formatter.
static LogFormatter createStandardFormatter(String format)
          Creates a new standard log formatter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createStandardFormatter

public static LogFormatter createStandardFormatter(String format)
Creates a new standard log formatter.

Parameters:
format - a log format (pass null get the default format)
Returns:
a new log formatter

createHtmlFormatter

public static LogFormatter createHtmlFormatter(String format)
Creates a new html log formatter.

Parameters:
format - a log format (pass null get the default format)
Returns:
a new log formatter


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.