SLF4J 1.0

org.slf4j
Class MarkerFactory

java.lang.Object
  |
  +--org.slf4j.MarkerFactory

public class MarkerFactory
extends java.lang.Object

MarkerFactory is a utility class producing Marker instances as appropriate for the logging system currently in use.

This class is essentially implemented as a wrapper around an IMarkerFactory instance bound at compile time.

Please note that all methods in this class are static.

Author:
Ceki Gülcü

Method Summary
static IMarkerFactory getIMarkerFactory()
          Return the IMarkerFactoryinstance in use.
static Marker getMarker(java.lang.String name)
          Return a Marker instance as specified by the name parameter using the previously bound IMarkerFactoryinstance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMarker

public static Marker getMarker(java.lang.String name)
Return a Marker instance as specified by the name parameter using the previously bound IMarkerFactoryinstance.

Parameters:
name - The name of the Marker object to return.
Returns:
marker

getIMarkerFactory

public static IMarkerFactory getIMarkerFactory()
Return the IMarkerFactoryinstance in use.

The IMarkerFactory instance is usually bound with this class at compile time.

Returns:
the IMarkerFactory instance in use

Copyright 2004-2006 SLF4J.ORG, QOS.ch