|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectnet.argius.stu.Log
ログ出力オブジェクトです。
| フィールドの概要 | |
static int |
DEBUG
エラー・警告・実行情報・デバッグ情報を出力します。 |
static int |
ERROR
エラーのみ出力します。 |
static int |
INFO
エラー・警告・実行情報を出力します。 |
static int |
VERBOSE
DEBUGに加えて、さらに冗長な情報を出力します。 |
static int |
WARN
エラー・警告を出力します。 |
| メソッドの概要 | |
protected String |
decorate(int level,
String message)
メッセージを装飾します。 |
protected String |
getDateFormat()
現在日時の文字列を取得します。 |
int |
getLevel()
ログレベルを取得します。 |
protected char |
getLevelInitialCharacter(int level)
ログレベルを表す頭文字を取得します。 |
protected int |
getLevelInteger(String levelstring)
ログレベルの文字列表現を数値に変換して返します。 |
protected String |
getLevelString(int level)
ログレベルの文字列表現を返します。 |
protected void |
write(String message)
メッセージをストリームに出力します。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public static final int ERROR
public static final int WARN
public static final int INFO
public static final int DEBUG
public static final int VERBOSE
DEBUGに加えて、さらに冗長な情報を出力します。
| メソッドの詳細 |
protected String decorate(int level,
String message)
level - ログレベルmessage - メッセージ
protected String getDateFormat()
protected void write(String message)
message - メッセージpublic final int getLevel()
protected final char getLevelInitialCharacter(int level)
level - ログレベル
protected final String getLevelString(int level)
level - ログレベル
protected final int getLevelInteger(String levelstring)
levelstring - ログレベルの文字列表現
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||