-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #131 by preferring string overloaded methods
- Loading branch information
Showing
4 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...log.Settings.Configuration.Tests/DummyLoggerConfigurationWithMultipleMethodsExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
using Serilog.Configuration; | ||
using Serilog.Events; | ||
using Serilog.Formatting; | ||
|
||
namespace Serilog.Settings.Configuration.Tests | ||
{ | ||
using System.Collections.Generic; | ||
|
||
static class DummyLoggerConfigurationWithMultipleMethodsExtensions | ||
{ | ||
public static LoggerConfiguration DummyRollingFile( | ||
LoggerSinkConfiguration loggerSinkConfiguration, | ||
ITextFormatter formatter, | ||
IEnumerable<string> pathFormat, | ||
LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum, | ||
string outputTemplate = null, | ||
IFormatProvider formatProvider = null) | ||
{ | ||
return null; | ||
} | ||
|
||
public static LoggerConfiguration DummyRollingFile( | ||
LoggerSinkConfiguration loggerSinkConfiguration, | ||
ITextFormatter formatter, | ||
string pathFormat, | ||
LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum, | ||
string outputTemplate = null, | ||
IFormatProvider formatProvider = null) | ||
{ | ||
return null; | ||
} | ||
|
||
public static LoggerConfiguration DummyRollingFile( | ||
LoggerSinkConfiguration loggerSinkConfiguration, | ||
string pathFormat, | ||
LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum) | ||
{ | ||
return null; | ||
} | ||
} | ||
} |