LoggingSettings Constructor |
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
)
Public Sub New (
Optional loggerFactory As ILoggerFactory = Nothing,
Optional maxDocumentSize As Optional(Of Integer) = Nothing
)
new :
?loggerFactory : ILoggerFactory *
?maxDocumentSize : Optional<int>
(* Defaults:
let _loggerFactory = defaultArg loggerFactory null
let _maxDocumentSize = defaultArg maxDocumentSize null
*)
-> LoggingSettings
Parameters
- loggerFactory (Optional)
- Type: ILoggerFactory
The logger factory. - maxDocumentSize (Optional)
- Type: MongoDB.DriverOptionalInt32
The maximum document size in chars.
See Also