Click or drag to resize

LoggingSettings Constructor

Initializes a new instance of the LoggingSettings class.

Namespace:  MongoDB.Driver.Core.Configuration
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public LoggingSettings(
	ILoggerFactory loggerFactory = null,
	Optional<int> maxDocumentSize = default
)

Parameters

loggerFactory (Optional)
Type: ILoggerFactory
The logger factory.
maxDocumentSize (Optional)
Type: MongoDB.DriverOptionalInt32
The maximum document size in chars.
See Also