Table of Contents

Method SetLoggerFactory

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

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 ILoggerFactory

An ILoggerFactory instance.