Click or drag to resize
LogEnricherEnrich Method
This API is preliminary and subject to change.
Enriches a message for logging.

Namespace: MongoDB.Driver.Core.Events.Diagnostics
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public virtual string Enrich(
	LogLevel level,
	string message
)

Parameters

level
Type: MongoDB.Driver.Core.Events.DiagnosticsLogLevel
The log level.
message
Type: SystemString
The message.

Return Value

Type: String
An enriched message.
See Also