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

22 lines
490 B

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

Powered by TurnKey Linux.