类 Logger
java.lang.Object
weka.core.logging.Logger
- 所有已实现的接口:
RevisionHandler
- 直接已知子类:
ConsoleLogger
Abstract superclass for all loggers.
- 版本:
- $Revision: 4716 $
- 作者:
- fracpete (fracpete at waikato dot ac dot nz)
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the minimum level log messages must have in order to appear in the log.static Logger
Returns the singleton instance of the logger.static void
log
(Logger.Level level, String msg) Logs the given message under the given level.static void
log
(Logger.Level level, Throwable t) Logs the given message under the given level.从接口继承的方法 weka.core.RevisionHandler
getRevision
-
字段详细资料
-
PROPERTIES_FILE
the properties file.- 另请参阅:
-
-
构造器详细资料
-
Logger
public Logger()Initializes the logger.
-
-
方法详细资料
-
getMinLevel
Returns the minimum level log messages must have in order to appear in the log.- 返回:
- the level
-
getSingleton
Returns the singleton instance of the logger.- 返回:
- the logger instance
-
log
Logs the given message under the given level.- 参数:
level
- the level of the messagemsg
- the message to log
-
log
Logs the given message under the given level.- 参数:
level
- the level of the messaget
- the throwable to log
-