Click or drag to resize

LogEvent Constructor (LogEventLevel, String, String, String, Int32)

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

Creates a log even with given severity, message, source, file and line number from where the event originated

Namespace:  CSInfrastructure.Events
Assembly:  CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public LogEvent(
	Level severity,
	string message,
	string source = null,
	string file = null,
	int lineNumber = -1
)

Parameters

severity
Type: Level
The severity of the logging event
message
Type: SystemString
The log message
source (Optional)
Type: SystemString
The source method from where the logging event originated
file (Optional)
Type: SystemString
The source file from where the logging event originated
lineNumber (Optional)
Type: SystemInt32
The line number of the source file on which the logging event originated
See Also