Click or drag to resize
DiagnosticsCassandraTraceSwitch Field
Specifies what messages should be passed to the output log when using the Trace API.

Field Value

Type: TraceSwitch
TraceLevel.Off - Output no tracing messages.

Field Value

Type: TraceSwitch
TraceLevel.Error - Output error-handling messages.

Field Value

Type: TraceSwitch
TraceLevel.Warning - Output warnings and error-handling messages.

Field Value

Type: TraceSwitch
TraceLevel.Info - Output informational messages, warnings, and error-handling messages.

Field Value

Type: TraceSwitch
TraceLevel.Verbose - Output all debugging and tracing messages.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public static readonly TraceSwitch CassandraTraceSwitch

Field Value

Type: TraceSwitch
Remarks
Consider using Microsoft.Extensions.Logging API instead by adding a ILoggerProvider using the AddLoggerProvider(ILoggerProvider) method.
See Also