mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-15 14:46:39 +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));
|
|
}
|
|
}
|
|
}
|