LoggingLevel Property (RenderingApplication Object)

The LoggingLevel property returns or sets the verbosity level for the specified logging category. Read/write.

Syntax

objRendApp.LoggingLevel(category)

category
Required. Long. The logging category.

Data Type

Long

Remarks

The LoggingLevel property controls how much information is written to the event log.

The logging level construct is an array with five elements, one for each logging category. Each element in the array can have a value from 0 to 5, representing the logging verbosity for that category.

The verbosity level bears an inverse relationship to the severity of the events being logged. The lower the verbosity level for a category, the fewer events are logged, that is, only the more severe ones. Each successive logging level logs all events logged by lower levels and also includes events of lesser severity introduced at its own level.

Level 0, the default, is the least verbose and logs only the most severe errors for that logging category. Level 5 is the most verbose and logs all events at all levels of severity.

The logging level for each category can have the following values:

Verbosity
level

Event logging in this category
0 Critical – log only the most severe failure events (default).
1 Minimal – include nearly all error events.
2 Basic – include certain important success events.
3 Extensive – include most routine success events.
4 Verbose – include all events not related to internal workings.
5 Internal – include events of interest only to users familiar with the internal workings of the CDO Rendering Library.

The logging categories are as follows:

Logging category Value Meaning
CATEGORY_STARTUP 1 Events that occur during the creation of the rendering object
CATEGORY_GENERAL 2 Events that occur while the rendering object is generating HTML output
CATEGORY_CONTENT 3 Unused
CATEGORY_SECURITY 4 Unused
CATEGORY_INTERNAL 5 Unused
CATEGORY_SHUTDOWN 6 Unused