_LOG_FILELINE

  • New in : SPIP 3.0

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):

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

See also The template debugging tools

Author jack Published : Updated : 04/05/23

Translations : English, français, Nederlands