|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log.LogKit
public final class LogKit
The LogKit provides the access to static methods to manipulate the logging sub-system
Method Summary | |
---|---|
static ContextStack |
getCurrentContext()
Deprecated. Use ContextStack.getCurrentContext() instead |
static Logger |
getLoggerFor(java.lang.String category)
Deprecated. Use Hierarchy.getDefaultHierarchy().getLoggerFor() instead |
static Priority |
getPriorityForName(java.lang.String priority)
Deprecated. Use Priority.getPriorityForName() instead |
static void |
log(java.lang.String message)
Deprecated. Use Hierarchy.getDefaultHierarchy().log() instead |
static void |
log(java.lang.String message,
java.lang.Throwable t)
Deprecated. Use Hierarchy.getDefaultHierarchy().log() instead |
static void |
setDefaultLogTarget(LogTarget defaultLogTarget)
Deprecated. Use Hierarchy.getDefaultHierarchy().setDefaultLogTarget() instead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ContextStack getCurrentContext()
public static Logger getLoggerFor(java.lang.String category)
category
- the context
public static Priority getPriorityForName(java.lang.String priority)
priority
- the priority
public static void log(java.lang.String message, java.lang.Throwable t)
public static void log(java.lang.String message)
public static void setDefaultLogTarget(LogTarget defaultLogTarget)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |