db
Logger Class Reference

Inherits LoggerInterface.

Public Member Functions

 emergency ($message, array $context=[])
 
 alert ($message, array $context=[])
 
 critical ($message, array $context=[])
 
 log ($level, $message, array $context=[])
 
 notice ($message, array $context=[])
 
 warning ($message, array $context=[])
 
 debug ($message, array $context=[])
 
 error ($message, array $context=[])
 
 info ($message, array $context=[])
 

Static Public Member Functions

static getLogger ($name)
 
static configure ($configuration=null, $configurator=null)
 

Protected Member Functions

 __construct ($logger)
 

Protected Attributes

 $logger = NULL
 

Detailed Description

trida slouzici k logovani

rozhrani je zalozeno na http://www.php-fig.org/psr/psr-3/ zalozeno na Apache Log4php https://logging.apache.org/log4php/

Constructor & Destructor Documentation

◆ __construct()

__construct (   $logger)
protected

Member Function Documentation

◆ alert()

alert (   $message,
array  $context = [] 
)

◆ configure()

static configure (   $configuration = null,
  $configurator = null 
)
static

◆ critical()

critical (   $message,
array  $context = [] 
)

◆ debug()

debug (   $message,
array  $context = [] 
)

◆ emergency()

emergency (   $message,
array  $context = [] 
)

◆ error()

error (   $message,
array  $context = [] 
)

◆ getLogger()

static getLogger (   $name)
static

vrati loger

Parameters
string$namenazev logeru
Returns
type

◆ info()

info (   $message,
array  $context = [] 
)

◆ log()

log (   $level,
  $message,
array  $context = [] 
)
Parameters
int$levelcurrntly supported levels from LogLevel
type$message
array$context

◆ notice()

notice (   $message,
array  $context = [] 
)

◆ warning()

warning (   $message,
array  $context = [] 
)

Member Data Documentation

◆ $logger

$logger = NULL
protected

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