-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from Falco20019/Falco20019/enhance-32
Add suggestions from #32
- Loading branch information
Showing
8 changed files
with
91 additions
and
79 deletions.
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
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 |
---|---|---|
@@ -1,15 +1,19 @@ | ||
using System.Collections.Generic; | ||
using System; | ||
using Serilog.Sinks.Http; | ||
using Serilog.Sinks.Loki.Labels; | ||
|
||
namespace Serilog.Sinks.Loki | ||
{ | ||
public class LokiSinkConfiguration | ||
{ | ||
internal const string DefaultTemplate = "{Message}{NewLine}{Exception}"; | ||
|
||
public string LokiUrl { get; set; } | ||
public string LokiUsername { get; set; } | ||
public string LokiPassword { get; set; } | ||
public ILogLabelProvider LogLabelProvider { get; set; } | ||
public IHttpClient HttpClient { get; set; } | ||
public string OutputTemplate { get; set; } = DefaultTemplate; | ||
public IFormatProvider FormatProvider { get; set; } | ||
} | ||
} |
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
20 changes: 0 additions & 20 deletions
20
test/Serilog.Sinks.Loki.Tests/Infrastructure/TestLabelProvider.cs
This file was deleted.
Oops, something went wrong.
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