Cross Platform Application to allow control with a MIDI controller
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
937 B

// Author: Gockner, Simon
// Created: 2019-09-27
// Copyright(c) 2019 SimonG. All Rights Reserved.
using System;
namespace Lib.Logging.Interfaces
{
/// <summary>
/// An interface that is used to handle log messages
/// </summary>
public interface ILogMessage
{
/// <summary>
/// The <see cref="LogLevels"/> of the <see cref="ILogMessage"/>
/// </summary>
LogLevels LogLevel { get; set; }
/// <summary>
/// The <see cref="Timestamp"/> of the <see cref="ILogMessage"/>
/// </summary>
DateTime Timestamp { get; set; }
/// <summary>
/// The <see cref="ILogComponent"/> of the <see cref="ILogMessage"/>
/// </summary>
ILogComponent? Component { get; set; }
/// <summary>
/// The <see cref="Message"/> of the <see cref="ILogMessage"/>
/// </summary>
string? Message { get; set; }
}
}