Class Ethna_Plugin_Logwriter

Description

ログ出力基底クラス

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

Ethna_Plugin_Abstract
   |
   --Ethna_Plugin_Logwriter
Direct descendents
Class Description
 class Ethna_Plugin_Logwriter_Default ログ出力基底クラス
 class Ethna_Plugin_Logwriter_Echo ログ出力基底クラス
 class Ethna_Plugin_Logwriter_Alertmail ログ出力クラス(アラートメール) Ethna_Logger にある _alert() をプラグインにしただけです。
 class Ethna_Plugin_Logwriter_File ログ出力クラス(File)
 class Ethna_Plugin_Logwriter_Syslog ログ出力クラス(Syslog)
 class Ethna_Plugin_Logwriter_Debugtoolbar Ethna_Plugin_Logwriter_DebugToolbar
Variable Summary
 mixed $facility
 mixed $ident
 mixed $option
Method Summary
 void begin ()
 void end ()
 string getIdent ()
 void log (int $level, string $message)
 void setOption (int $option)
Variables
mixed $facility (line 30)
  • access: protected
mixed $have_backtrace (line 36)
  • access: protected
mixed $ident (line 27)
  • access: protected
mixed $level_name_table = array(
LOG_EMERG => 'EMERG',
LOG_ALERT => 'ALERT',
LOG_CRIT => 'CRIT',
LOG_ERR => 'ERR',
LOG_WARNING => 'WARNING',
LOG_NOTICE => 'NOTICE',
LOG_INFO => 'INFO',
LOG_DEBUG => 'DEBUG',
)
(line 39)
  • access: protected
mixed $option (line 33)
  • access: protected

Inherited Variables

Inherited from Ethna_Plugin_Abstract

Ethna_Plugin_Abstract::$action_form
Ethna_Plugin_Abstract::$af
Ethna_Plugin_Abstract::$backend
Ethna_Plugin_Abstract::$config
Ethna_Plugin_Abstract::$config_default
Ethna_Plugin_Abstract::$controller
Ethna_Plugin_Abstract::$ctl
Ethna_Plugin_Abstract::$logger
Ethna_Plugin_Abstract::$name
Ethna_Plugin_Abstract::$session
Ethna_Plugin_Abstract::$type
Methods
begin (line 72)

ログ出力を開始する

  • access: public
void begin ()

Redefined in descendants as:
end (line 92)

ログ出力を終了する

  • access: public
void end ()

Redefined in descendants as:
getIdent (line 102)

ログアイデンティティ文字列を取得する

  • return: ログアイデンティティ文字列
  • access: public
string getIdent ()
log (line 83)

ログを出力する

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

Redefined in descendants as:
setOption (line 59)

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

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

Redefined in descendants as:

Inherited Methods

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:32 +0900 by phpDocumentor 1.4.3