/*
* Copyright (c) 2024 ETH Zürich, IT Services
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
using SafeExamBrowser.Settings.Logging;
namespace SafeExamBrowser.Logging.Contracts
{
///
/// Defines a typical (i.e. prioritized and timestamped) log message as content element of the application log.
///
public interface ILogMessage : ILogContent
{
///
/// The date when the message was logged.
///
DateTime DateTime { get; }
///
/// The severity of the message.
///
LogLevel Severity { get; }
///
/// The message itself.
///
string Message { get; }
///
/// Information about the thread on which the message was logged.
///
IThreadInfo ThreadInfo { get; }
}
}