Package tigase.util.log

# Class LogFormatter

java.lang.Object
java.util.logging.Formatter
tigase.util.log.LogFormatter

public class LogFormatter extends Formatter

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final Map<Integer,LogWithStackTraceEntry>`
  `errors`
  `protected Date`
  `timestamp`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LogFormatter()`
  `LogFormatter(boolean colorful)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `addError(Throwable thrown, String stack, String log_msg)`
  `static String`
  `fillThrowable(Throwable throwable)`
  `String`
  `format(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

  - ### errors

    public static final Map<Integer,LogWithStackTraceEntry> errors

  - ### timestamp

    protected Date timestamp

- ## Constructor Details

  - ### LogFormatter

    public LogFormatter()

  - ### LogFormatter

    public LogFormatter(boolean colorful)

- ## Method Details

  - ### format

    public String format(LogRecord record)
    Specified by:
      `format` in class `Formatter`

  - ### addError

    protected void addError(Throwable thrown, String stack, String log_msg)

  - ### fillThrowable

    public static String fillThrowable(Throwable throwable)