using System;
namespace SimpleLogger
{
public interface ILogReceiver
{
string Identifier { get; }
///
/// The severity of the messages this log should receive.
///
/// The severity of the logs.
LogLevel Level { get; }
///
/// Logs the message.
///
/// The message to be logged.
/// The time at which this message was requested to be logged.
/// The severity of this message.
void LogMessage(string message, DateTime time, LogLevel level);
///
/// Called when this receiver should explicitly flush received messages.
///
void Flush();
}
}