Log System Interface to log any operation on your application. It is threads safe.
CRM32Pro uses it to print a lot of useful debug information:
- LOG_LOW: only print out error messages.
- LOG_NORMAL: previous level plus warning messages(some info are also included).
- LOG_HIGH: previous level plus info messages.
Note that all query information methods of objects/interfaces are using LOG_LOW.
All print actions are internally done using Msg().
You should initialize this interface before the CRM32Pro.Init() to print out all information messages.
- Created on 18 May 2000
- Last modified on 1 May 2012
|
#define | LOG_CONSOLE 8 |
| Use with Init() in 'mode' parameter: output to console.
|
|
#define | LOG_DRTS 16 |
| Use with Init() in 'mode' parameter: output to DRTS subsystem (integrated console)
|
|
#define | LOG_FILE 2 |
| Use with Init() in 'mode' parameter: output to a file(if it exists, its contents are destroyed).
|
|
#define | LOG_FILEAPPEND 4 |
| Use with Init() in 'mode' parameter: output to a file(if it exists, we write at the end of its contents).
|
|
#define | LOG_HIGH 5 |
| Use with Init() in 'level' parameter: high-level output log (errors,warning and info messages).
|
|
#define | LOG_LOW 0 |
| Use with Init() in 'level' parameter: low-level output log (only errors messages).
|
|
#define | LOG_NORMAL 2 |
| Use with Init() in 'level' parameter: normal-level output log (errors and warning messages).
|
|
#define | LOG_NULL 0 |
| Use with Init() in 'mode' parameter: no output at all.
|
|