diff --git a/src/Serilog.Sinks.InMemory/InMemorySinkExtensions.cs b/src/Serilog.Sinks.InMemory/InMemorySinkExtensions.cs index 5b86a48..7b76f6f 100644 --- a/src/Serilog.Sinks.InMemory/InMemorySinkExtensions.cs +++ b/src/Serilog.Sinks.InMemory/InMemorySinkExtensions.cs @@ -7,8 +7,6 @@ namespace Serilog.Sinks.InMemory { public static class InMemorySinkExtensions { - const string DefaultOutputTemplate = "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"; - /// /// Writes log events to an in-memory log sink. /// @@ -21,11 +19,9 @@ public static class InMemorySinkExtensions public static LoggerConfiguration InMemory( this LoggerSinkConfiguration sinkConfiguration, LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum, - string outputTemplate = DefaultOutputTemplate, LoggingLevelSwitch levelSwitch = null) { if (sinkConfiguration == null) throw new ArgumentNullException(nameof(sinkConfiguration)); - if (outputTemplate == null) throw new ArgumentNullException(nameof(outputTemplate)); return sinkConfiguration.Sink(InMemorySink.Instance, restrictedToMinimumLevel, levelSwitch); }