asanhtmlparser.util
クラス Logger
java.lang.Object
asanhtmlparser.util.Logger
public class Logger
- extends java.lang.Object
Asanの自前のLogger.
- 作成者:
- a-san
フィールドの概要 |
static int |
ALL
|
static int |
clsThreshold
すべてのloggerで、INFO以上を出力したいときには、Logger.clsThreshold=INFO;とする。 |
static int |
DEBUG
|
static int |
ERROR
|
static int |
FATAL
|
static int |
INFO
|
int |
objThreshold
ある特定のloggerで、すべてを出力したいときには、logger.objThreshold=ALL;とする。 |
static int |
OFF
|
static int |
WARN
|
メソッドの概要 |
void |
debug(java.lang.Object msg)
|
void |
debug(java.lang.Object msg,
java.lang.Throwable th)
|
static Logger |
getLogger(java.lang.Class cls)
|
void |
info(java.lang.Object msg)
|
void |
info(java.lang.Object msg,
java.lang.Throwable th)
|
void |
log(int level,
java.lang.Object msg,
java.lang.Throwable th)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OFF
public static final int OFF
- 関連項目:
- 定数フィールド値
FATAL
public static final int FATAL
- 関連項目:
- 定数フィールド値
ERROR
public static final int ERROR
- 関連項目:
- 定数フィールド値
WARN
public static final int WARN
- 関連項目:
- 定数フィールド値
INFO
public static final int INFO
- 関連項目:
- 定数フィールド値
DEBUG
public static final int DEBUG
- 関連項目:
- 定数フィールド値
ALL
public static final int ALL
- 関連項目:
- 定数フィールド値
clsThreshold
public static int clsThreshold
- すべてのloggerで、INFO以上を出力したいときには、Logger.clsThreshold=INFO;とする。
objThreshold
public int objThreshold
- ある特定のloggerで、すべてを出力したいときには、logger.objThreshold=ALL;とする。
getLogger
public static Logger getLogger(java.lang.Class cls)
log
public void log(int level,
java.lang.Object msg,
java.lang.Throwable th)
info
public void info(java.lang.Object msg)
info
public void info(java.lang.Object msg,
java.lang.Throwable th)
debug
public void debug(java.lang.Object msg)
debug
public void debug(java.lang.Object msg,
java.lang.Throwable th)