Click or drag to resize

LogPublisherPublish(MessageLevel, 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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public void Publish(
	MessageLevel level,
	string eventName,
	string message = null,
	string details = null,
	Exception exception = null
)
View Source

Parameters

level  MessageLevel
the level of the message
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