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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public LoggingSettings(
	ILoggerFactory loggerFactory = null,
	Optional<int> maxDocumentSize = null
)

Parameters

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