List of System Error Log Message Types

3DS Max Plug-In SDK

List of System Error Log Message Types

See Also: Class LogSys.

There are four types of log entries. In the preference dialog, the user can select what types of log entries they want to be generated. This is the way a user can control the verbosity of the log file in some meaningful way. Developers are encouraged to be very verbose about information and debug messages -- the Log() functions should be used to record any events out of the ordinary. As the user can elect to ignore these messages they are perfect for troubleshooting.

One or more of the following values (these values may be ORed together ( i.e. SYSLOG_ERROR|SYSLOG_WARN):

SYSLOG_ERROR

An error message. An example of this type is a fatal error.

SYSLOG_WARN

A warning message. An example of this type is a message telling the user the MAX file just loaded is obsolete and needs to be resaved. This option may not be selected by the MAX user via the UI but it is available for use (it's used internally often).

SYSLOG_INFO

An information message. An example of this is a message indicating a new MAX file has been loaded.

SYSLOG_DEBUG

A debugging message. This message type is for anything you think might help trace problems that the user is having with your program.