Class TGMDK_Logger

Description

TGMDK_Logger ログ出力クラス

  • copyright: VeriTrans Inc.

Located in /TGMDK_Logger.php (line 18)


	
			
Class Constant Summary
ERR_LOG_PREFIX = "[MDK_LOG_ERR]"
PACKAGE_NAME = 'jp.co.veritrans.3GpsMdk'
Method Summary
void __destruct ()
void debug ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
void error ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
void fatal ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
void info ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
boolean isDebugEnabled ()
boolean isErrorEnabled ()
boolean isFatalEnabled ()
boolean isInfoEnabled ()
boolean isWarnEnabled ()
void warn ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
Methods
static method getInstance (line 58)

静的なインスタンスを返す

  • return: ロガー
  • access: public
static TGMDK_Logger getInstance ()
Destructor __destruct (line 47)

デストラクタ

  • access: public
void __destruct ()
debug (line 154)

Debugレベルでログを出力

  • access: public
void debug ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
  • mixed $message:: ログ出力するメッセージ
  • mixed $throwable:: ログに出力するExceptionオブジェクト(stack traceを含む)
  • $message
  • $throwable
error (line 208)

Errorレベルでログを出力

  • access: public
void error ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
  • mixed $message:: ログ出力するメッセージ
  • mixed $throwable:: ログに出力するExceptionオブジェクト(stack traceを含む)
  • $message
  • $throwable
fatal (line 226)

Fatalレベルでログを出力

  • access: public
void fatal ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
  • mixed $message:: ログ出力するメッセージ
  • mixed $throwable:: ログに出力するExceptionオブジェクト(stack traceを含む)
  • $message
  • $throwable
info (line 172)

Infoレベルでログを出力

  • access: public
void info ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
  • mixed $message:: ログ出力するメッセージ
  • mixed $throwable:: ログに出力するExceptionオブジェクト(stack traceを含む)
  • $message
  • $throwable
isDebugEnabled (line 80)

ログ出力設定の Debug レベルの有効/無効 判定

  • return: 有効な場合 true
  • access: public
boolean isDebugEnabled ()
isErrorEnabled (line 110)

ログ出力設定の Error レベルの有効/無効 判定

  • return: 有効な場合 true
  • access: public
boolean isErrorEnabled ()
isFatalEnabled (line 120)

ログ出力設定の Fatal レベルの有効/無効 判定

  • return: 有効な場合 true
  • access: public
boolean isFatalEnabled ()
isInfoEnabled (line 90)

ログ出力設定の Info レベルの有効/無効 判定

  • return: 有効な場合 true
  • access: public
boolean isInfoEnabled ()
isWarnEnabled (line 100)

ログ出力設定の Warn レベルの有効/無効 判定

  • return: 有効な場合 true
  • access: public
boolean isWarnEnabled ()
warn (line 190)

Warnレベルでログを出力

  • access: public
void warn ( $message, [ $throwable = NULL], mixed $message:, mixed $throwable:)
  • mixed $message:: ログ出力するメッセージ
  • mixed $throwable:: ログに出力するExceptionオブジェクト(stack traceを含む)
  • $message
  • $throwable
Class Constants
ERR_LOG_PREFIX = "[MDK_LOG_ERR]" (line 23)

error_log 出力時のプレフィックス

PACKAGE_NAME = 'jp.co.veritrans.3GpsMdk' (line 21)

パッケージ名

Documentation generated on Tue, 12 Mar 2024 14:05:21 +0900 by phpDocumentor 1.4.4