 | LogExtensionsLogError Method (INeonLogger, Exception) |
Logs an error exception.
Namespace:
Neon.Diagnostics
Assembly:
Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntaxpublic static void LogError(
this INeonLogger log,
Exception e
)
<ExtensionAttribute>
Public Shared Sub LogError (
log As INeonLogger,
e As Exception
)
public:
[ExtensionAttribute]
static void LogError(
INeonLogger^ log,
Exception^ e
)
[<ExtensionAttribute>]
static member LogError :
log : INeonLogger *
e : Exception -> unit
Parameters
- log
- Type: Neon.DiagnosticsINeonLogger
The log. - e
- Type: SystemException
The exception.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
INeonLogger. 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