LoggerExtensionsToMessageLevel Method
Namespace: Gemstone.DiagnosticsAssembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public static MessageLevel ToMessageLevel(
this LogLevel level
)
<ExtensionAttribute>
Public Shared Function ToMessageLevel (
level As LogLevel
) As MessageLevel
public:
[ExtensionAttribute]
static MessageLevel ToMessageLevel(
LogLevel level
)
Gemstone.Diagnostics.LoggerExtensions.ToMessageLevel = function(level);
- level LogLevel
- LogLevel to convert.
MessageLevelMessageLevel equivalent of the specified
LogLevel.In Visual Basic and C#, you can call this method as an instance method on any object of type
LogLevel. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).