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.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
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