com.hamaf.hikyaku.extension
インタフェース AppLogOut

既知の実装クラスの一覧:
AppLogOutImpl

public interface AppLogOut

タイトル: AppricationLog write interface.

説明: アプリケーションログ出力インターフェース。


AppLogOut.propertiesより LogOutName,LogOutPath,LogOutLevel,LogLineCount,SystemOut を参照します。
各Property値の詳細はAppLogOut.propertiesを参照

バージョン:
1.0
作成者:
Hamanaka

フィールドの概要
static int LEVEL_DEBUG
          Describe constant LEVEL_DEBUG : Debug level code.
static int LEVEL_ERROR
          Describe constant LEVEL_ERROR : General Error level code.
static int LEVEL_INFO
          Describe constant LEVEL_INFO : Information level code.
 
メソッドの概要
 void debug(java.lang.String msg)
          Describe debug method : Debug log write.
 void error(java.lang.String msg)
          Describe fatal method : Fatal log write.
 void fclose()
          Describe fclose method : file close.
 void info(java.lang.String msg)
          Describe error method : Error log write.
 void setLevel(java.lang.String pid)
          Describe setLevel method : set output level.
 

フィールドの詳細

LEVEL_ERROR

static final int LEVEL_ERROR
Describe constant LEVEL_ERROR : General Error level code.

関連項目:
定数フィールド値

LEVEL_INFO

static final int LEVEL_INFO
Describe constant LEVEL_INFO : Information level code.

関連項目:
定数フィールド値

LEVEL_DEBUG

static final int LEVEL_DEBUG
Describe constant LEVEL_DEBUG : Debug level code.

関連項目:
定数フィールド値
メソッドの詳細

setLevel

void setLevel(java.lang.String pid)
Describe setLevel method : set output level.
ログ出力のレベルを設定する。
PreserveBSLinfo.getLogOutLevel()で取得される値により
LEVEL_DEBUG,LEVEL_INFO,LEVEL_ERRORのいずれかが設定される。
通常は呼び出す必要はありません。AppLogInfo.init()を呼び出した場合に利用します。


debug

void debug(java.lang.String msg)
Describe debug method : Debug log write.
デバッグ用ログ出力
出力レベルがLEVEL_DEBUGのときのみ出力する。

パラメータ:
msg - a String : Message

info

void info(java.lang.String msg)
Describe error method : Error log write.
エラー用ログ出力
出力レベルがLEVEL_DEBUG or LEBEL_INFOのとき出力する。

パラメータ:
msg - a String : Message

error

void error(java.lang.String msg)
Describe fatal method : Fatal log write.
Fatal用ログ出力
常に出力する。

パラメータ:
msg - a String : Message

fclose

void fclose()
Describe fclose method : file close.
書き出したFileをクローズする。