WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

LoggerExtensionMethods..::..Lazy Method

Generate a lazy logger to not take a way processes time from the executing thread by having to deal with logging concerns

Namespace:  Walter
Assembly:  Walter (in Walter.dll)

Syntax


public static FluentLogger Lazy(
	ILogger sender,
	string file,
	Nullable<int> line
)

Parameters

sender
Type: ILogger
The ILogger to use when performing the actual logging
file
Type: String
documents the file that generate the lazy logger
line
Type: Nullable<(Of <(<'Int32>)>)>
the line number in the file that generated the lazy logger

Return Value

fluent logger lazy login ILogger interface

Remarks


Logging will be in order or send however there will be a delay in time of 300ms and a allocation may crash before having written the log. If the logger will file it will use the file name and the line number to the error log for easy fix