IZfePropertyKeysLogLevel Property |
The key value for setting the logging level.
Namespace:
MicroFocus.ZFE.Connector
Assembly:
MicroFocus.ZFE.Connector (in MicroFocus.ZFE.Connector.dll) Version: 1.2.292.0 (1.2.292.0)
Syntax ReadOnly Property LogLevel As String
Get
Property Value
Type:
StringRemarks
If a LogLevel value is not specified the default value is "Error".
Supported values for the LogLevel key:
Value | Description |
---|
"Error"
|
Logs application exceptions and errors.
|
"Warn"
|
Logs warnings of adverse conditions.
|
"Info"
|
Logs coarse-grained informational messages.
|
"Debug"
|
Logs fine-grained informational events.
|
Examples
Visual Basic for Applications:
Dim props As ZfeProperties
Dim propKeys As ZfePropertyKeys
Set props = new ZfeProperties()
Set propKeys = new ZfePropertyKeys()
props.SetProperty propKeys.LogLevel, "Info"
C#:
IZfeProperties props = new ZfeProperties();
props.SetProperty(ZfePropertyKeys.LogLevelKey, "Info");
See Also