Method SetLoggerFactory
SetLoggerFactory(ILoggerFactory)
Sets an ILoggerFactory to be used by the library for logging. This method should be called at most once at application startup, prior to making Connect(string) or ConnectAsync(string) calls.
public static void SetLoggerFactory(ILoggerFactory loggerFactory)
Parameters
loggerFactory
ILoggerFactoryAn ILoggerFactory instance.