Hook actionLoggerLogMessage

Informations

Allows to make extra action while a log is triggered This hook allows to make an extra action while an exception is thrown and the logger logs it
Hook actionLoggerLogMessage
Locations
BO
FO
Type action
Origin core
Aliases
Description This hook allows to make an extra action while an exception is thrown and the logger logs it

Located in

Origin File
core classes/log/AbstractLogger.php

Call of the Hook in the origin file

Hook::exec(
    'actionLoggerLogMessage',
    [
        'message' => $message,
        'level' => $level,
        'isLogged' => $level >= $this->level,
    ]
);