[CHANGE] Get parameters from framework logger.
This commit is contained in:
@@ -4,11 +4,10 @@ namespace DotBased.Logging.MEL;
|
||||
|
||||
public static class LoggerBuilderExtensions
|
||||
{
|
||||
public static ILoggingBuilder AddDotBased(this ILoggingBuilder builder, LogOptions options)
|
||||
public static void AddDotBasedLoggerProvider(this ILoggingBuilder builder, LogOptions options)
|
||||
{
|
||||
if (builder == null)
|
||||
throw new ArgumentNullException(nameof(builder));
|
||||
builder.AddProvider(new BasedLoggerProvider(options));
|
||||
return builder;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user