/* * Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET) * * 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 { /// <summary> /// Defines a typical (i.e. prioritized and timestamped) log message as content element of the application log. /// </summary> public interface ILogMessage : ILogContent { /// <summary> /// The date when the message was logged. /// </summary> DateTime DateTime { get; } /// <summary> /// The severity of the message. /// </summary> LogLevel Severity { get; } /// <summary> /// The message itself. /// </summary> string Message { get; } /// <summary> /// Information about the thread on which the message was logged. /// </summary> IThreadInfo ThreadInfo { get; } } }