Skip to main content

DebugMessage

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Represents a debug message with severity, message and date time

public record DebugMessage : IEquatable<DebugMessage>

Inheritance Object → DebugMessage
Implements IEquatable<DebugMessage>

Properties​

Severity​

Severity of the message

public LoggerSeverity Severity { get; set; }

Property Value​

LoggerSeverity

NodeId​

ID of node the log message comes from

public string NodeId { get; set; }

Property Value​

String

NodePath​

Path of node the log message comes from

public string NodePath { get; set; }

Property Value​

String

Message​

Message to log

public string Message { get; set; }

Property Value​

String

DateTime​

Date time of the message

public DateTime DateTime { get; set; }

Property Value​

DateTime

ExceptionMessage​

The exception message optionally

public string ExceptionMessage { get; set; }

Property Value​

String

Constructors​

DebugMessage(LoggerSeverity, String, String, String, DateTime, String)​

Represents a debug message with severity, message and date time

public DebugMessage(LoggerSeverity Severity, string NodeId, string NodePath, string Message, DateTime DateTime, string ExceptionMessage)

Parameters​

Severity LoggerSeverity
Severity of the message

NodeId String
ID of node the log message comes from

NodePath String
Path of node the log message comes from

Message String
Message to log

DateTime DateTime
Date time of the message

ExceptionMessage String
The exception message optionally