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
936 B
34 lines
936 B
// Author: Simon Gockner
|
|
// Created: 2020-02-08
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved.
|
|
|
|
using System;
|
|
|
|
namespace GBase.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; }
|
|
}
|
|
} |