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

Logger class for Monolog Ubiquity\log\libraries$UMonolog This class is part of Ubiquity. More...

+ Inheritance diagram for UMonolog:

Public Member Functions

 __construct ($name, $level=\Monolog\Logger::INFO, $path='logs/app.log')
 
 addProcessor ($callback)
 
 _log ($level, $context, $message, $part, $extra)
 
 _info ($context, $message, $part, $extra)
 
 _warn ($context, $message, $part, $extra)
 
 _error ($context, $message, $part, $extra)
 
 _alert ($context, $message, $part, $extra)
 
 _critical ($context, $message, $part, $extra)
 
 _asObjects ($reverse=true, $maxlines=10, $contexts=null)
 
 _clearAll ()
 
 _close ()
 
 _registerError ()
 

Private Member Functions

 createContext ($context, $part, $extra=null)
 

Private Attributes

 $loggerInstance
 
 $handler
 

Additional Inherited Members

- Static Public Member Functions inherited from Logger
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 ()
 

Detailed Description

Logger class for Monolog Ubiquity\log\libraries$UMonolog 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.4

Definition at line 20 of file UMonolog.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $name,
  $level = \Monolog\Logger::INFO,
  $path = 'logs/app.log' 
)

Definition at line 28 of file UMonolog.php.

Member Function Documentation

◆ _alert()

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

Reimplemented from Logger.

Definition at line 59 of file UMonolog.php.

◆ _asObjects()

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

Reimplemented from Logger.

Definition at line 67 of file UMonolog.php.

◆ _clearAll()

_clearAll ( )

Reimplemented from Logger.

Definition at line 90 of file UMonolog.php.

◆ _close()

_close ( )

Reimplemented from Logger.

Definition at line 95 of file UMonolog.php.

◆ _critical()

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

Reimplemented from Logger.

Definition at line 63 of file UMonolog.php.

◆ _error()

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

Reimplemented from Logger.

Definition at line 55 of file UMonolog.php.

◆ _info()

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

Reimplemented from Logger.

Definition at line 47 of file UMonolog.php.

◆ _log()

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

Reimplemented from Logger.

Definition at line 43 of file UMonolog.php.

◆ _registerError()

_registerError ( )

Reimplemented from Logger.

Definition at line 99 of file UMonolog.php.

◆ _warn()

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

Reimplemented from Logger.

Definition at line 51 of file UMonolog.php.

◆ addProcessor()

addProcessor (   $callback)

Definition at line 39 of file UMonolog.php.

◆ createContext()

createContext (   $context,
  $part,
  $extra = null 
)
private

Definition at line 35 of file UMonolog.php.

Field Documentation

◆ $handler

$handler
private

Definition at line 26 of file UMonolog.php.

◆ $loggerInstance

$loggerInstance
private

Definition at line 25 of file UMonolog.php.


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