Class Ethna_Plugin_Logwriter_File

Description

ログ出力クラス(File)

Located in /class/Plugin/Logwriter/Ethna_Plugin_Logwriter_File.php (line 20)

Ethna_Plugin_Logwriter
   |
   --Ethna_Plugin_Logwriter_File
Method Summary
 Ethna_Plugin_Logwriter_File Ethna_Plugin_Logwriter_File ()
 void begin ()
 void end ()
 void log (int $level, string $message)
 void setOption (int $option)
 string _getLogFile ()
Methods
Constructor Ethna_Plugin_Logwriter_File (line 39)

Ethna_Plugin_Logwriter_Fileクラスのコンストラクタ

  • access: public
Ethna_Plugin_Logwriter_File Ethna_Plugin_Logwriter_File ()
begin (line 70)

ログ出力を開始する

  • access: public
void begin ()

Redefinition of:
Ethna_Plugin_Logwriter::begin()
ログ出力を開始する
end (line 121)

ログ出力を終了する

  • access: public
void end ()

Redefinition of:
Ethna_Plugin_Logwriter::end()
ログ出力を終了する
log (line 86)

ログを出力する

  • access: public
void log (int $level, string $message)
  • int $level: ログレベル(LOG_DEBUG, LOG_NOTICE...)
  • string $message: ログメッセージ(+引数)

Redefinition of:
Ethna_Plugin_Logwriter::log()
ログを出力する
setOption (line 50)

ログオプションを設定する

  • access: public
void setOption (int $option)
  • int $option: ログオプション(LOG_FILE,LOG_FUNCTION...)

Redefinition of:
Ethna_Plugin_Logwriter::setOption()
ログオプションを設定する
_getLogFile (line 139)

ログファイルの書き出し先を取得する(ログファシリティに LOG_FILEが指定されている場合のみ有効)

ログファイルの書き出し先を変更したい場合はこのメソッドを オーバーライドします

  • return: ログファイルの書き出し先
  • access: protected
string _getLogFile ()

Inherited Methods

Inherited From Ethna_Plugin_Logwriter

 Ethna_Plugin_Logwriter::Ethna_Plugin_Logwriter()
 Ethna_Plugin_Logwriter::begin()
 Ethna_Plugin_Logwriter::end()
 Ethna_Plugin_Logwriter::getIdent()
 Ethna_Plugin_Logwriter::log()
 Ethna_Plugin_Logwriter::setOption()

Documentation generated on Fri, 11 Nov 2011 04:00:38 +0900 by phpDocumentor 1.4.3