using System;
namespace Plane.Logging
{
public interface ILogger
{
///
/// Write a new log entry about the specified exception with the specified priority.
///
/// Exception instance to log.
/// The priority of the entry.
void Log(Exception ex, Priority priority = Priority.High);
///
/// Write a new log entry with the specified category and priority.
///
/// Message body to log.
/// Category of the entry.
/// The priority of the entry.
void Log(string message, Category category = Category.Info, Priority priority = Priority.None);
string ReadLog();
}
}