Click or drag to resize

ClusterOptionsWithLogging Method

Set the ILoggerFactory to use for logging.

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public ClusterOptions WithLogging(
	ILoggerFactory loggerFactory = null
)

Parameters

loggerFactory (Optional)
Type: ILoggerFactory
The logger factory.

Return Value

Type: ClusterOptions
A reference to this ClusterOptions object for method chaining.
See Also