Skip to content

Commit

Permalink
Remap NuGetLogger Verbose/Verbose to ICakeLog Debug/Diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
gitfool authored and augustoproiete committed Mar 3, 2021
1 parent 7e46d5f commit d483bf9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Cake.NuGet/Client/NuGetLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ private static Core.Diagnostics.LogLevel GetLogLevel(LogLevel logLevel)
{
case LogLevel.Minimal:
return Core.Diagnostics.LogLevel.Information;
case LogLevel.Verbose:
return Core.Diagnostics.LogLevel.Verbose;
case LogLevel.Warning:
return Core.Diagnostics.LogLevel.Warning;
case LogLevel.Error:
Expand All @@ -36,9 +34,8 @@ private static Verbosity GetVerbosity(LogLevel logLevel)
switch (logLevel)
{
case LogLevel.Debug:
return Verbosity.Diagnostic;
case LogLevel.Verbose:
return Verbosity.Verbose;
return Verbosity.Diagnostic;
case LogLevel.Warning:
return Verbosity.Minimal;
case LogLevel.Error:
Expand All @@ -55,7 +52,7 @@ public NuGetLogger(ICakeLog log)

public void LogDebug(string data) => _log.Debug(data);

public void LogVerbose(string data) => _log.Verbose(data);
public void LogVerbose(string data) => _log.Debug(data);

public void LogInformation(string data) => _log.Debug(data);

Expand Down

0 comments on commit d483bf9

Please sign in to comment.