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.
21 lines
525 B
21 lines
525 B
// Author: Simon Gockner
|
|
// Created: 2020-02-08
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GBase.Logging.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Base class for loggers
|
|
/// </summary>
|
|
public interface ILogger : IAsyncDisposable
|
|
{
|
|
/// <summary>
|
|
/// Write the given <see cref="ILogMessage"/>
|
|
/// </summary>
|
|
/// <param name="message">The <see cref="ILogMessage"/></param>
|
|
Task Write(ILogMessage message);
|
|
}
|
|
} |