Click or drag to resize

LogPublisherPublish(MessageLevel, MessageFlags, String, String, String, Exception) Method

Raises a log message with the provided data.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public void Publish(
	MessageLevel level,
	MessageFlags flags,
	string eventName,
	string message = null,
	string details = null,
	Exception exception = null
)
View Source

Parameters

level  MessageLevel
the level of the message
flags  MessageFlags
associated flags
eventName  String
A short name about what this message is detailing. Typically this will be a few words.
message  String  (Optional)
A longer message than giving more specifics about the actual message. Typically, this will be up to 1 line of text.
details  String  (Optional)
A long text field with the details of the message.
exception  Exception  (Optional)
An exception object if one is provided.
See Also