LoggerManager
class LoggerManager implements ArrayAccess, Countable, IteratorAggregate (View source)
The LoggerFactory class.
Methods
LoggerPool constructor.
System is unusable.
Action must be taken immediately.
Critical conditions.
Runtime errors that do not require immediate action but should typically be logged and monitored.
Exceptional occurrences that are not errors.
Normal but significant events.
Interesting events.
Detailed debug information.
Logs with an arbitrary level.
addLogger
createCategory
getLogger
hasLogger
removeLogger
Method to get property Loggers
Method to set property loggers
getNullLogger
Retrieve an external iterator
Is a property exists or not.
Get a property.
Set a value to property.
Unset a property.
Count this object.
Method to get property LogPath
Method to set property logPath
Details
at line line 52
__construct(string $logPath)
LoggerPool constructor.
at line line 66
LoggerManager
emergency(string $category, string $message, array $context = array())
System is unusable.
at line line 85
LoggerManager
alert(string $category, string $message, array $context = array())
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.
at line line 103
LoggerManager
critical(string $category, string $message, array $context = array())
Critical conditions.
Example: Application component unavailable, unexpected exception.
at line line 120
LoggerManager
error(string $category, string $message, array $context = array())
Runtime errors that do not require immediate action but should typically be logged and monitored.
at line line 139
LoggerManager
warning(string $category, string $message, array $context = array())
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
at line line 155
LoggerManager
notice(string $category, string $message, array $context = array())
Normal but significant events.
at line line 173
LoggerManager
info(string $category, string $message, array $context = array())
Interesting events.
Example: User logs in, SQL logs.
at line line 189
LoggerManager
debug(string $category, string $message, array $context = array())
Detailed debug information.
at line line 206
LoggerManager
log(string $category, mixed $level, string $message, array $context = array())
Logs with an arbitrary level.
at line line 221
LoggerManager
addLogger(string $category, LoggerInterface $logger)
addLogger
at line line 238
LoggerInterface
createCategory(string $category, int $level = Logger::DEBUG)
createCategory
at line line 251
LoggerInterface
getLogger(string $category, int $level = Logger::DEBUG)
getLogger
at line line 297
boolean
hasLogger(string $category)
hasLogger
at line line 311
LoggerManager
removeLogger(string $category)
removeLogger
at line line 326
LoggerInterface[]
getLoggers()
Method to get property Loggers
at line line 338
LoggerManager
setLoggers(array $loggers)
Method to set property loggers
at line line 353
NullLogger
getNullLogger()
getNullLogger
at line line 368
Traversable
getIterator()
Retrieve an external iterator
at line line 380
boolean
offsetExists(mixed $offset)
Is a property exists or not.
at line line 393
mixed
offsetGet(mixed $offset)
Get a property.
at line line 407
void
offsetSet(mixed $offset, mixed $value)
Set a value to property.
at line line 420
void
offsetUnset(mixed $offset)
Unset a property.
at line line 430
int
count()
Count this object.
at line line 440
mixed
getLogPath()
Method to get property LogPath
at line line 452
LoggerManager
setLogPath(mixed $logPath)
Method to set property logPath