LoggingExtensions.Error Method

TegoOS

LoggingExtensionsError Method
Logs error message to Logger

Namespace: Tego.Logging
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public static void Error(
	this ILogger log,
	Func<string> messageProvider
)
<ExtensionAttribute>
Public Shared Sub Error ( 
	log As ILogger,
	messageProvider As Func(Of String)
)
public:
[ExtensionAttribute]
static void Error(
	ILogger^ log, 
	Func<String^>^ messageProvider
)
[<ExtensionAttribute>]
static member Error : 
        log : ILogger * 
        messageProvider : Func<string> -> unit 

Parameters

log
Type: Tego.LoggingILogger
Logger
messageProvider
Type: SystemFuncString
Message Provider function

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