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.110 -- Release Build+b4503491f6bb08c88fb6da624558b506a9176518
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