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 ObjectDebugMessage
Implements IEquatable<DebugMessage>

Properties

Severity

Severity of the message

public LoggerSeverity Severity { get; set; }

Property Value

LoggerSeverity

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, DateTime, String)

Represents a debug message with severity, message and date time

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

Parameters

Severity LoggerSeverity
Severity of the message

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