 | ILoggerExtensionsIsDebugEnabled Method |
Checks, whether the Debug
Level is enabled.
Namespace: Bobs.LumberjackAssembly: Bobs.Lumberjack (in Bobs.Lumberjack.dll) Version: 0.1.0-dev001
Syntaxpublic static bool IsDebugEnabled(
this ILogger logger
)
<ExtensionAttribute>
Public Shared Function IsDebugEnabled (
logger As ILogger
) As Boolean
public:
[ExtensionAttribute]
static bool IsDebugEnabled(
ILogger^ logger
)
[<ExtensionAttribute>]
static member IsDebugEnabled :
logger : ILogger -> bool
Parameters
- logger
- Type: Bobs.LumberjackILogger
The logger to log with.
Return Value
Type:
Boolean, if Debug is enabled.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILogger. 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).
See Also