Class Ethna_Plugin_Logwriter_File

Description

ログ出力クラス(File)

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

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

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

  • access: public
Ethna_Plugin_Logwriter_File __construct ()

Redefinition of:
Ethna_Plugin_Abstract::__construct()
Constructor
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::begin()
 Ethna_Plugin_Logwriter::end()
 Ethna_Plugin_Logwriter::getIdent()
 Ethna_Plugin_Logwriter::log()
 Ethna_Plugin_Logwriter::setOption()

Inherited From Ethna_Plugin_Abstract

 Ethna_Plugin_Abstract::__construct()
 Ethna_Plugin_Abstract::getConfig()
 Ethna_Plugin_Abstract::getName()
 Ethna_Plugin_Abstract::getType()
 Ethna_Plugin_Abstract::_detectName()
 Ethna_Plugin_Abstract::_detectType()
 Ethna_Plugin_Abstract::_load()
 Ethna_Plugin_Abstract::_loadConfig()

Documentation generated on Fri, 11 Nov 2011 03:58:07 +0900 by phpDocumentor 1.4.3