mirror of
https://github.com/DuendeSoftware/products
synced 2026-05-24 09:28:24 +00:00
remove constructor ambiguity from SanitizedLogger
This commit is contained in:
parent
5aa266c91a
commit
df59d12578
1 changed files with 1 additions and 3 deletions
|
|
@ -8,12 +8,10 @@ namespace Duende.IdentityServer.Logging;
|
|||
|
||||
internal class SanitizedLogger<T>
|
||||
{
|
||||
private readonly ILogger _logger;
|
||||
private readonly ILogger<T> _logger;
|
||||
|
||||
public SanitizedLogger(ILogger<T> logger) => _logger = logger;
|
||||
|
||||
public SanitizedLogger(ILogger logger) => _logger = logger;
|
||||
|
||||
public void LogTrace(string message, params object[] args)
|
||||
{
|
||||
if (_logger.IsEnabled(LogLevel.Trace))
|
||||
|
|
|
|||
Loading…
Reference in a new issue