Add comments

This commit is contained in:
Laurent Destailleur 2012-02-17 23:24:47 +01:00
parent 9b3bab5ff9
commit d1f06dbd3a

View File

@ -502,10 +502,10 @@ function dol_escape_htmltag($stringtoescape,$keepb=0)
* Write log message into outputs. Possible outputs can be: * Write log message into outputs. Possible outputs can be:
* A file if SYSLOG_FILE_ON defined: file name is then defined by SYSLOG_FILE * A file if SYSLOG_FILE_ON defined: file name is then defined by SYSLOG_FILE
* Syslog if SYSLOG_SYSLOG_ON defined: facility is then defined by SYSLOG_FACILITY * Syslog if SYSLOG_SYSLOG_ON defined: facility is then defined by SYSLOG_FACILITY
* Warning, les fonctions syslog sont buggues sous Windows et generent des * Warning, syslog functions are bugged on Windows, generating memory protection faults. To solve
* fautes de protection memoire. Pour resoudre, utiliser le loggage fichier, * this, use logging to files instead of syslog (see setup of module).
* au lieu du loggage syslog (configuration du module). * Note: If SYSLOG_FILE_NO_ERROR defined, we never output any error message when writing to log fails.
* Note: If SYSLOG_FILE_NO_ERROR defined, we never output error message when writing to log fails. * Note: You can get log message into html sources by adding parameter &logtohtml=1 (constant MAIN_LOGTOHTML must be set)
* *
* This function works only if syslog module is enabled. * This function works only if syslog module is enabled.
* This must not use any call to other function calling dol_syslog (avoid infinite loop). * This must not use any call to other function calling dol_syslog (avoid infinite loop).