31,034
edits
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{TemplateDocDevEn}} | {{TemplateDocDevEn}} | ||
= Functions = | = Functions = | ||
Following function allows to log informations in Dolibarr log file | Following function allows to log informations in Dolibarr log file | ||
dol_syslog($message, LOG_DEBUG|LOG_INFO|LOG_WARNING|LOG_ERR); | |||
The log level is related to setup defined in module Syslog (see lower). | The log level is related to setup defined in module Syslog (see lower). | ||
Following function can be used to add error information on screen. Usage must be reserved in never reached code. | Following function can be used to add error information on screen. Usage must be reserved in never reached code. | ||
dol_print_error($db,texte); | |||
= Module Syslog = | = Module Syslog = | ||