Ubiquity  2.0.0
php rapid development framework
Logger Class Reference

Public Member Functions

 _log ($id, $message, $code)
 
 _warn ($id, $message, $code)
 
 _error ($id, $message, $code)
 

Static Public Member Functions

static init (&$config)
 
static log ($id, $message, $code=0)
 
static warn ($id, $message, $code=0)
 
static error ($id, $message, $code=0)
 

Static Private Member Functions

static createLogger (&$config)
 

Static Private Attributes

static $instance
 
static $test
 

Detailed Description

Definition at line 5 of file Logger.php.

Member Function Documentation

◆ _error()

_error (   $id,
  $message,
  $code 
)
abstract

◆ _log()

_log (   $id,
  $message,
  $code 
)
abstract

◆ _warn()

_warn (   $id,
  $message,
  $code 
)
abstract

◆ createLogger()

static createLogger ( $config)
staticprivate

Definition at line 12 of file Logger.php.

◆ error()

static error (   $id,
  $message,
  $code = 0 
)
static

Definition at line 32 of file Logger.php.

◆ init()

static init ( $config)
static

Definition at line 16 of file Logger.php.

◆ log()

static log (   $id,
  $message,
  $code = 0 
)
static

Definition at line 22 of file Logger.php.

◆ warn()

static warn (   $id,
  $message,
  $code = 0 
)
static

Definition at line 27 of file Logger.php.

Field Documentation

◆ $instance

$instance
staticprivate

Definition at line 9 of file Logger.php.

◆ $test

$test
staticprivate

Definition at line 10 of file Logger.php.


The documentation for this class was generated from the following file: