SBM ModScript Reference → Programming SBM ModScript → Object Types → Log → Log SetReportingLevel() Method
(SBM On-Premise only) Sets the log reporting level.
Parameter | Type | Description |
---|---|---|
value |
int |
An integer value, from 1 to 4; constant values are available by using the member functions NONE through VERBOSE, or using the LogLevelConstants global, which has members NONE through VERBOSE. See LogLevelConstants. The default is LogLevelConstants.AVERAGE. |
Type | Description |
---|---|
int |
Returns the int value passed in. |
SBM ModScript version: 11.3.
See Log Message() Method.
Calls to "Message" functions with a higher value will be ignored. This allows code to be written that writes frequent log messages at the VERBOSE level, but perhaps most of those messages can be ignored most of the time when not debugging, so the log level is set to MINIMAL unless the script writer is debugging.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.