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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
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