3ds Max C++ API Reference
Loading...
Searching...
No Matches
log.h File Reference
#include <WTypes.h>
#include "strbasic.h"
#include "maxheap.h"

Classes

class  LogSys
 Class for writing out log information to a file. More...
 

Macros

#define NO_DIALOG   FALSE
 
#define DISPLAY_DIALOG   TRUE
 
#define SYSLOG_ERROR   0x00000001
 An error message.
 
#define SYSLOG_WARN   0x00000002
 An example of this type is a message telling the user the MAX file just loaded is obsolete and needs to be resaved.
 
#define SYSLOG_INFO   0x00000004
 An example of this is a message indicating a new MAX file has been loaded.
 
#define SYSLOG_DEBUG   0x00000008
 This message type is for anything you think might help trace problems that the user has with your code.
 
#define SYSLOG_STARTBATCH   0x00000010
 The next three defines are used when you want to send a large number of messages to the logger to prevent it from continually opening/closing the log for performance reason.
 
#define SYSLOG_BATCH   0x00000020
 Used to mark messages that are sent in batch.
 
#define SYSLOG_ENDBATCH   0x00000040
 Used to mark the end an batch message.
 
#define SYSLOG_BROADCAST   0x00010000
 
#define SYSLOG_MR   0x00020000
 
#define SYSLOG_IGNORE_VERBOSITY   0x00040000
 Used with SYSLOG_BROADCAST to force the display of important messages that are not errors or warnings.
 
#define SYSLOG_LIFE_EVER   0
 
#define SYSLOG_LIFE_DAYS   1
 
#define SYSLOG_LIFE_SIZE   2
 

Macro Definition Documentation

◆ NO_DIALOG

#define NO_DIALOG   FALSE

◆ DISPLAY_DIALOG

#define DISPLAY_DIALOG   TRUE

◆ SYSLOG_LIFE_EVER

#define SYSLOG_LIFE_EVER   0

◆ SYSLOG_LIFE_DAYS

#define SYSLOG_LIFE_DAYS   1

◆ SYSLOG_LIFE_SIZE

#define SYSLOG_LIFE_SIZE   2