mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-22 23:26:31 +01:00
16 lines
382 B
C#
16 lines
382 B
C#
using System;
|
|
using Serilog;
|
|
using Serilog.Configuration;
|
|
|
|
namespace TINK.Services.Logging
|
|
{
|
|
public static class MemoryStackSinkExtensions
|
|
{
|
|
public static LoggerConfiguration MemoryQueueSink(
|
|
this LoggerSinkConfiguration loggerConfiguration,
|
|
IFormatProvider formatProvider = null)
|
|
{
|
|
return loggerConfiguration.Sink(new MemoryStackSink(formatProvider));
|
|
}
|
|
}
|
|
}
|