LoggingExtensions.Warn Method

TegoOS

LoggingExtensionsWarn Method
Logs warn message to Logger

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