DiagnosticsAddLoggerProvider Method |
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
public static void AddLoggerProvider( ILoggerProvider provider )