Class Ethna_Plugin_Logwriter

Description

ログ出力基底クラス

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


	
			
Direct descendents
Class Description
 class Ethna_Plugin_Logwriter_Alertmail ログ出力クラス(アラートメール) Ethna_Logger にある _alert() をプラグインにしただけです。
 class Ethna_Plugin_Logwriter_Default ログ出力基底クラス
 class Ethna_Plugin_Logwriter_File ログ出力クラス(File)
 class Ethna_Plugin_Logwriter_Syslog ログ出力クラス(Syslog)
 class Ethna_Plugin_Logwriter_Echo ログ出力基底クラス
Method Summary
 Ethna_Plugin_Logwriter Ethna_Plugin_Logwriter (string $log_ident, int $log_facility, string $log_file, int $log_option)
 void begin ()
 void end ()
 string getIdent ()
 void log (int $level, string $message)
 void setOption (int $option)
Methods
Constructor Ethna_Plugin_Logwriter (line 61)

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

  • access: public
Ethna_Plugin_Logwriter Ethna_Plugin_Logwriter (string $log_ident, int $log_facility, string $log_file, int $log_option)
  • string $log_ident: ログアイデンティティ文字列(プロセス名等)
  • int $log_facility: ログファシリティ
  • string $log_file: ログ出力先ファイル名(LOG_FILEオプションが指定されている場合のみ)
  • int $log_option: ログオプション(LOG_FILE,LOG_FUNCTION...)
begin (line 84)

ログ出力を開始する

  • access: public
void begin ()

Redefined in descendants as:
end (line 104)

ログ出力を終了する

  • access: public
void end ()

Redefined in descendants as:
getIdent (line 114)

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

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

ログを出力する

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

Redefined in descendants as:
setOption (line 71)

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

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

Redefined in descendants as:

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