SLF4J 1.0

org.slf4j
Interface IMarkerFactory

All Known Implementing Classes:
BasicMarkerFactory

public interface IMarkerFactory

Implementaitons of this interface are used to manufacture Marker instances.

See the section Implementing the SLF4J API in the FAQ for details on how to make your logging system conform to SLF4J.

Author:
Ceki Gülcü

Method Summary
 boolean exists(java.lang.String name)
          Checks if the marker with the name already exists.
 Marker getMarker(java.lang.String name)
          Manufacture a Marker instance by name.
 

Method Detail

getMarker

public Marker getMarker(java.lang.String name)
Manufacture a Marker instance by name. If the instance has been created earlier, return the previously created instance.

Null name values are not allowed.

Parameters:
name - the name of the marker to be created, null value is not allowed.
Returns:
a Marker instance

exists

public boolean exists(java.lang.String name)
Checks if the marker with the name already exists. If name is null, then false is returned.

Returns:
true id the marker exists, false otherwise.

Copyright 2004-2006 SLF4J.ORG, QOS.ch