|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log.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(String category)
Deprecated. Use Hierarchy.getDefaultHierarchy().getLoggerFor() instead |
static Priority |
getPriorityForName(String priority)
Deprecated. Use Priority.getPriorityForName() instead |
static void |
log(String message)
Deprecated. Use Hierarchy.getDefaultHierarchy().log() instead |
static void |
log(String message,
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(String category)
category
- the context
public static Priority getPriorityForName(String priority)
priority
- the priority
public static void log(String message, Throwable t)
public static void log(String message)
public static void setDefaultLogTarget(LogTarget defaultLogTarget)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |