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.
Zero/ZeroLevel/Services/Logging/ILogMessageBuffer.cs

23 lines
506 B

using System;
using ZeroLevel.Logging;
namespace ZeroLevel.Logging
{
/// <summary>
/// Message queue for logging
/// </summary>
internal interface ILogMessageBuffer : IDisposable
{
/// <summary>
/// Number of messages in the queue
/// </summary>
long Count { get; }
/// <summary>
/// Write message to the queue
/// </summary>
void Push(LogLevel level, string message);
Tuple<LogLevel, string> Take();
}
}

Powered by TurnKey Linux.