PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 30, 2023
Let's talk code, commerce and open source.

Hook actionLoggerLogMessage 8.1

Information

Allows to make extra action while a log is triggered

Hook locations:

  • back office
  • front office

Hook type: action

Located in:

Call of the Hook in the origin file

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