Package jade.tools.logging
Class JavaLoggingLogManagerImpl
- java.lang.Object
-
- jade.tools.logging.JavaLoggingLogManagerImpl
-
- All Implemented Interfaces:
LogManager
public class JavaLoggingLogManagerImpl extends Object implements LogManager
-
-
Field Summary
Fields Modifier and Type Field Description static StringJAVA_LOGGING_LOG_MANAGER_CLASS
-
Constructor Summary
Constructors Constructor Description JavaLoggingLogManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetAllLogInfo()Returns a list ofLoggerInfoobjects each one describing a logger active in the local JVM.ListgetLogLevels()Returns a list ofLevelInfoobject each one describing a level valid for the selected logging system.StringgetName()Returns a user friendly name of the logging systemvoidsetFile(String name, String fileHandler)voidsetLogLevel(String name, int level)
-
-
-
Field Detail
-
JAVA_LOGGING_LOG_MANAGER_CLASS
public static final String JAVA_LOGGING_LOG_MANAGER_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:LogManagerReturns a user friendly name of the logging system- Specified by:
getNamein interfaceLogManager- Returns:
- user friendly name of the logging system
-
getAllLogInfo
public List getAllLogInfo()
Description copied from interface:LogManagerReturns a list ofLoggerInfoobjects each one describing a logger active in the local JVM.- Specified by:
getAllLogInfoin interfaceLogManager- Returns:
- a List of LogInfo
-
setLogLevel
public void setLogLevel(String name, int level)
- Specified by:
setLogLevelin interfaceLogManager
-
setFile
public void setFile(String name, String fileHandler)
- Specified by:
setFilein interfaceLogManager
-
getLogLevels
public List getLogLevels()
Returns a list ofLevelInfoobject each one describing a level valid for the selected logging system.- Specified by:
getLogLevelsin interfaceLogManager- Returns:
- a list of
LevelInfoobject each one describing a level valid for the selected logging system.
-
-