utility class to log some message into a file into yourapp/var/log
| package |
jelix |
|---|---|
| subpackage |
core_log |
| static |
__construct()
_log(\jILogMessage $message, array $loggers)
dump(mixed $obj, string $label = '', string $category = 'default')
mixedthe value to dump
stringa label
stringthe message category
getMessages(string|array $filter = false) : array
string|arrayif given, category or list of categories of messages you want to retrieve
arraythe list of jILogMessage object
getMessagesCount( $category) : integer
integer
isPluginActivated(string $logger, string $category) : boolean
stringthe logger name
stringthe category
booleantrue if it is activated
log(mixed $message, string $category = 'default')
Warning: since it is called by error handler, it should not trigger errors! and should take care of case were an error could appear
mixed
stringthe log type
logEx(\Exception $exception, string $category = 'default')
\Exception
stringthe log type
outputLog(\jResponse $response)
allMessages : array
| var |
array of jILogMessage |
|---|
array