SdamLoggingSettingsWith Method |
Returns a new SdamLoggingSettings instance with some settings changed.
Namespace:
MongoDB.Driver.Core.Configuration
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public SdamLoggingSettings With(
Optional<string> logFilename = default
)
Public Function With (
Optional logFilename As Optional(Of String) = Nothing
) As SdamLoggingSettings
member With :
?logFilename : Optional<string>
(* Defaults:
let _logFilename = defaultArg logFilename new Optional<string>()
*)
-> SdamLoggingSettings
Parameters
- logFilename (Optional)
- Type: MongoDB.DriverOptionalString
The filename.
Return Value
Type:
SdamLoggingSettingsA new SdamLoggingSettings instance.
See Also