[SPIP] Proposé : _LOG_FILELINE

SPIP

Article proposé

L’article « _LOG_FILELINE
(SPIP) » est proposé
à la publication depuis le jeudi 30 mars 2023.


_LOG_FILELINE

jeudi 30 mars 2023 , par jack

Very useful during debugging, the constant _LOG_FILELINE allows you
to add the file name, the line number and the name of the function from
which the log is generated to the logs.

It is possible to declare this constant in your config/mes_options.php
file (see the article on it
(SPIP)) :

// pour débuggage précis
define('_LOG_FILELINE', true);

See also The template debugging tools
(SPIP)

— Envoyé par SPIP (https://www.spip.net/)

rubon199-7e493.jpg