Table of Contents

Class LogMessage

Namespace
Arc4u.Diagnostics.Serilog.Sinks
Assembly
Arc4u.Diagnostics.Serilog.Sinks.RealmDb.dll

A log message read from an ILogStore, with the Arc4u properties of the log entry.

public class LogMessage
Inheritance
LogMessage
Inherited Members

Properties

ActivityId

Gets or sets the id of the activity in which the message was logged.

public string ActivityId { get; set; }

Property Value

string

Application

Gets or sets the name of the application.

public string Application { get; set; }

Property Value

string

ClassType

Gets or sets the full name of the type that emitted the message.

public string ClassType { get; set; }

Property Value

string

Identity

Gets or sets the identity of the user.

public string Identity { get; set; }

Property Value

string

Message

Gets or sets the rendered message text.

public string Message { get; set; }

Property Value

string

MessageCategory

Gets or sets the name of the Arc4u MessageCategory (Technical, Business, Monitoring or a name registered with MessageCategoryRegistry).

public string MessageCategory { get; set; }

Property Value

string

MessageType

Gets or sets the name of the LogLevel of the message.

public string MessageType { get; set; }

Property Value

string

MethodName

Gets or sets the name of the method that emitted the message.

public string MethodName { get; set; }

Property Value

string

ProcessId

Gets or sets the id of the process that emitted the message.

public int ProcessId { get; set; }

Property Value

int

Properties

Gets or sets the additional (non Arc4u standard) properties, serialized as a JSON object.

public string Properties { get; set; }

Property Value

string

Stacktrace

Gets or sets the stack trace, when it was requested.

public string Stacktrace { get; set; }

Property Value

string

ThreadId

Gets or sets the id of the thread that emitted the message.

public int ThreadId { get; set; }

Property Value

int

Timestamp

Gets or sets the time at which the message was logged.

public DateTimeOffset Timestamp { get; set; }

Property Value

DateTimeOffset