Package com.sun.identity.plugin.log
Class LogManager
- java.lang.Object
-
- com.sun.identity.plugin.log.LogManager
-
public final class LogManager extends Object
TheLogManageris used to get an instance of theLoggerimplementation class. If the system property com.sun.identity.plugin.log.class is set, this class will be used as log provider instead of the default implementation.
-
-
Field Summary
Fields Modifier and Type Field Description static Debugdebugstatic StringLOG_PROVIDER_NAME
-
Constructor Summary
Constructors Constructor Description LogManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoggergetLogger(String componentName)Returns an instance of theLoggerobject.
-
-
-
Field Detail
-
LOG_PROVIDER_NAME
public static final String LOG_PROVIDER_NAME
- See Also:
- Constant Field Values
-
debug
public static final Debug debug
-
-
Method Detail
-
getLogger
public static Logger getLogger(String componentName) throws LogException
Returns an instance of theLoggerobject.- Parameters:
componentName- name of the component .- Returns:
- instance of
Loggerobject. - Throws:
LogException- if there is an error.
-
-