Click or drag to resize

LogEventInfo Method

[This is preliminary documentation and is subject to change.]

Factory method that creates a logging event with Info and a given message. It will automatically try to determine the source method, source file and line number

Namespace:  CSInfrastructure.Events
Assembly:  CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static LogEvent Info(
	string message,
	string source = null,
	string sourceFile = null,
	int sourceLineNumber = -1
)

Parameters

message
Type: SystemString
The log message
source (Optional)
Type: SystemString
The source method from where the logging event originated
sourceFile (Optional)
Type: SystemString
The source file from where the logging event originated
sourceLineNumber (Optional)
Type: SystemInt32
The line number of the source file on which the logging event originated

Return Value

Type: LogEvent
A LogEvent that can be published using the IEventService
See Also