sharee.bike-App/TINKLib/Services/Logging/MemoryStackSinkExtensions.cs
Anja Müller-Meißner 573fe77e12 Version 3.0.337
2022-08-30 15:42:25 +02:00

16 lines
430 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));
}
}
}