|
JBoss LogManager 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.logmanager.LogContext
public final class LogContext
A logging context, for producing isolated logging environments.
Method Summary | |
---|---|
static LogContext |
create()
Create a new log context. |
static LogContext |
getLogContext()
Get the currently active log context. |
Logger |
getLogger(String name)
Get a logger with the given name from this logging context. |
static LogContext |
getSystemLogContext()
Get the system log context. |
static void |
setLogContextSelector(LogContextSelector newSelector)
Set a new log context selector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LogContext create()
"createLogContext"
RuntimePermission
to invoke this method.
public Logger getLogger(String name)
name
- the logger name
LogManager.getLogger(String)
public static LogContext getSystemLogContext()
public static LogContext getLogContext()
public static void setLogContextSelector(LogContextSelector newSelector)
"setLogContextSelector"
RuntimePermission
to invoke this method.
newSelector
- the new selector.
|
JBoss LogManager 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |