Skip to content

Commit

Permalink
(GH-1095) ensure nuget logs verbose and fatal
Browse files Browse the repository at this point in the history
Capture verbose log information from nuget along with fatal messages.
  • Loading branch information
ferventcoder committed Mar 30, 2017
1 parent c8d07b2 commit a357075
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ public void Log(MessageLevel level, string message, params object[] args)
break;
case MessageLevel.Error:
this.Log().Error("[NuGet] " + message, args);
break;
//todo: case MessageLevel.Fatal:
// this.Log().Fatal("[NuGet] " + message, args);
// break;
//case MessageLevel.Verbose:
// this.Log().Info(ChocolateyLoggers.Verbose,"[NuGet] " + message, args);
// break;
break;
case MessageLevel.Fatal:
this.Log().Fatal("[NuGet] " + message, args);
break;
case MessageLevel.Verbose:
this.Log().Info(ChocolateyLoggers.Verbose, "[NuGet] " + message, args);
break;
}
}
}
Expand Down

0 comments on commit a357075

Please sign in to comment.