sharee.bike-App/TINKLib/Services/Logging/MemoryStackSinkExtensions.cs
Anja Müller-Meißner 0468955d49 Version 3.0.338
2022-09-08 09:55:14 +02:00

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));
}
}
}