LoggingSettings Constructor |
Namespace:
MongoDB.Driver.Core.Configuration
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public LoggingSettings(
ILoggerFactory loggerFactory = null,
Optional<int> maxDocumentSize = default
)
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 new Optional<int>()
*)
-> LoggingSettings
Parameters
- loggerFactory (Optional)
- Type: ILoggerFactory
The logger factory. - maxDocumentSize (Optional)
- Type: MongoDB.DriverOptionalInt32
The maximum document size in chars.
See Also