Classes | Defines

MODULE 2: ILogSystem v2.7, log system interface.


Detailed Description


Log System Interface to log any operation on your application.

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.

Classes

class  CRM32Pro_ILogSystem
 ILogSystem. More...

Defines

#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.
 All Classes Functions Variables