Constructor LoggingSettings
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.dll
LoggingSettings(ILoggerFactory, Optional<int>)
Initializes a new instance of the LoggingSettings class.
[CLSCompliant(false)]
public LoggingSettings(ILoggerFactory loggerFactory = null, Optional<int> maxDocumentSize = default)
Parameters
loggerFactory
ILoggerFactoryThe logger factory.
maxDocumentSize
Optional<int>The maximum document size in chars.