Click or drag to resize
DiagnosticsAddLoggerProvider Method
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.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public static void AddLoggerProvider(
	ILoggerProvider provider
)

Parameters

provider
Type: ILoggerProvider
The logger provider to add to the logger factory
See Also