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

Raises a log message with the provided data.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public void Publish(
	MessageLevel level,
	MessageFlags flags,
	string? eventName,
	string? message = null,
	string? details = null,
	Exception? exception = null
)

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