xHarbour Reference Documentation > Function Reference |
Adds a new entry to the log file of the operating system.
HB_SysLogMessage( <cMessage> , ; <nPriority>, ; <nSysID> ) --> lSuccess
Log channel priorities
Constant | Value | Description |
---|---|---|
HB_LOG_CRITICAL | 1 | Critical log messages |
HB_LOG_ERROR | 2 | Error log messages |
HB_LOG_WARNING | 3 | Warning messages |
HB_LOG_INFO | 4 | Informational messages |
HB_LOG_DEBUG | 5 | Debug messages |
The function returns .T. (true) when the log message is successfully added to the log file of the operating system, otherwise .F. (false) is returned.
See also: | LOG, HB_SysLogClose(), HB_SysLogOpen() |
Category: | Log functions , xHarbour extensions |
Header: | hblog.ch |
Source: | rtl\hbSysLog.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com