seb-win-refactoring/SafeExamBrowser.Logging.Contracts/ILogObserver.cs

22 lines
663 B
C#
Raw Normal View History

2017-07-05 11:41:19 +02:00
/*
* Copyright (c) 2024 ETH Zürich, IT Services
2017-07-05 11:41:19 +02:00
*
* 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/.
*/
namespace SafeExamBrowser.Logging.Contracts
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// Defines an observer of the application log which can subscribe to a logger via <see cref="ILogger.Subscribe(ILogObserver)"/>.
/// </summary>
public interface ILogObserver
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// Notifies an observer once new content has been added to the application log.
/// </summary>
void Notify(ILogContent content);
2017-07-05 11:41:19 +02:00
}
}