Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Logger Class Reference

Abstract class for logging Ubiquity\log$Logger This class is part of Ubiquity. More...

+ Inheritance diagram for Logger:

Public Member Functions

 _registerError ()
 
 _log ($level, $context, $message, $part, $extra)
 
 _info ($context, $message, $part, $extra)
 
 _warn ($context, $message, $part, $extra)
 
 _error ($context, $message, $part, $extra)
 
 _critical ($context, $message, $part, $extra)
 
 _alert ($context, $message, $part, $extra)
 
 _asObjects ($reverse=true, $maxlines=10, $contexts=null)
 
 _clearAll ()
 
 _close ()
 

Static Public Member Functions

static registerError ()
 
static inContext ($contexts, $context)
 
static init (&$config, $application=false)
 
static log ($level, $context, $message, $part=null, $extra=null)
 
static info ($context, $message, $part=null, $extra=null)
 
static warn ($context, $message, $part=null, $extra=null)
 
static error ($context, $message, $part=null, $extra=null)
 
static critical ($context, $message, $part=null, $extra=null)
 
static alert ($context, $message, $part=null, $extra=null)
 
static appLog ($level, $context, $message, $part=null, $extra=null)
 
static appInfo ($context, $message, $part=null, $extra=null)
 
static appWarn ($context, $message, $part=null, $extra=null)
 
static appError ($context, $message, $part=null, $extra=null)
 
static appCritical ($context, $message, $part=null, $extra=null)
 
static appAlert ($context, $message, $part=null, $extra=null)
 
static asObjects ($reverse=true, $maxlines=10, $contexts=null)
 
static clearAll ()
 
static close ()
 
static isActive ()
 

Static Private Member Functions

static createLogger (&$config)
 

Static Private Attributes

static $instance
 
static $active
 

Detailed Description

Abstract class for logging Ubiquity\log$Logger This class is part of Ubiquity.

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.3

Definition at line 14 of file Logger.php.

Member Function Documentation

◆ _alert()

_alert (   $context,
  $message,
  $part,
  $extra 
)
abstract

Reimplemented in UMonolog.

◆ _asObjects()

_asObjects (   $reverse = true,
  $maxlines = 10,
  $contexts = null 
)
abstract

Reimplemented in UMonolog.

◆ _clearAll()

_clearAll ( )
abstract

Reimplemented in UMonolog.

◆ _close()

_close ( )
abstract

Reimplemented in UMonolog.

◆ _critical()

_critical (   $context,
  $message,
  $part,
  $extra 
)
abstract

Reimplemented in UMonolog.

◆ _error()

_error (   $context,
  $message,
  $part,
  $extra 
)
abstract

Reimplemented in UMonolog.

◆ _info()

_info (   $context,
  $message,
  $part,
  $extra 
)
abstract

Reimplemented in UMonolog.

◆ _log()

_log (   $level,
  $context,
  $message,
  $part,
  $extra 
)
abstract

Reimplemented in UMonolog.

◆ _registerError()

_registerError ( )
abstract

Reimplemented in UMonolog.

◆ _warn()

_warn (   $context,
  $message,
  $part,
  $extra 
)
abstract

Reimplemented in UMonolog.

◆ alert()

static alert (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 82 of file Logger.php.

◆ appAlert()

static appAlert (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 108 of file Logger.php.

◆ appCritical()

static appCritical (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 104 of file Logger.php.

◆ appError()

static appError (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 100 of file Logger.php.

◆ appInfo()

static appInfo (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 92 of file Logger.php.

◆ appLog()

static appLog (   $level,
  $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 88 of file Logger.php.

◆ appWarn()

static appWarn (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 96 of file Logger.php.

◆ asObjects()

static asObjects (   $reverse = true,
  $maxlines = 10,
  $contexts = null 
)
static

Definition at line 112 of file Logger.php.

◆ clearAll()

static clearAll ( )
static

Definition at line 119 of file Logger.php.

◆ close()

static close ( )
static

Definition at line 125 of file Logger.php.

◆ createLogger()

static createLogger ( $config)
staticprivate

Definition at line 22 of file Logger.php.

◆ critical()

static critical (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 76 of file Logger.php.

◆ error()

static error (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 70 of file Logger.php.

◆ inContext()

static inContext (   $contexts,
  $context 
)
static

Definition at line 39 of file Logger.php.

◆ info()

static info (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 58 of file Logger.php.

◆ init()

static init ( $config,
  $application = false 
)
static

Definition at line 46 of file Logger.php.

◆ isActive()

static isActive ( )
static

Definition at line 149 of file Logger.php.

◆ log()

static log (   $level,
  $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 52 of file Logger.php.

◆ registerError()

static registerError ( )
static

Definition at line 35 of file Logger.php.

◆ warn()

static warn (   $context,
  $message,
  $part = null,
  $extra = null 
)
static

Definition at line 64 of file Logger.php.

Field Documentation

◆ $active

$active
staticprivate

Definition at line 20 of file Logger.php.

◆ $instance

$instance
staticprivate

Definition at line 19 of file Logger.php.


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