Diagnostics Class |
Namespace: Dse
public static class Diagnostics
The Diagnostics type exposes the following members.
Name | Description | |
---|---|---|
AddLoggerProvider |
Adds a ILoggerProvider to the logger factory used by the driver.
Be sure to call this method before initializing the ICluster to ensure that ILoggerFactory API is used as driver logging mechanism instead of Trace. |
Name | Description | |
---|---|---|
CassandraTraceSwitch |
Specifies what messages should be passed to the output log when using the Trace API.
Field ValueType:TraceLevel.Off - Output no tracing messages. Field ValueType:TraceLevel.Error - Output error-handling messages. Field ValueType:TraceLevel.Warning - Output warnings and error-handling messages. Field ValueType:TraceLevel.Info - Output informational messages, warnings, and error-handling messages. Field ValueType:TraceLevel.Verbose - Output all debugging and tracing messages. |
Name | Description | |
---|---|---|
CassandraPerformanceCountersEnabled |
Defines if performance counters should be enabled.
Default value is Field ValueType:false. | |
CassandraStackTraceIncluded |
Defines if exception StackTrace information should be printed by trace logger.
Default value is Field ValueType:false. |