From a357075b67d64ffac83bc1b7adf3020237eb477e Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Wed, 29 Mar 2017 21:58:12 -0500 Subject: [PATCH] (GH-1095) ensure nuget logs verbose and fatal Capture verbose log information from nuget along with fatal messages. --- .../nuget/ChocolateyNugetLogger.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs b/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs index cc1275f39e..8b15b9c731 100644 --- a/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs +++ b/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs @@ -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; } } }