From adb50f7fdccd5145dd3748b831acf4e8c8676293 Mon Sep 17 00:00:00 2001 From: Praburaj Date: Tue, 6 May 2014 13:00:32 -0700 Subject: [PATCH] Logging package name changed 1. Fixed the package name in project.json 2. Updated the namespaces. --- src/MusicStore/Logging/NullLogger.cs | 3 ++- src/MusicStore/Logging/NullLoggerFactory.cs | 3 ++- src/MusicStore/Startup.cs | 2 +- src/MusicStore/project.json | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/MusicStore/Logging/NullLogger.cs b/src/MusicStore/Logging/NullLogger.cs index f68f6647ea..d93d14934a 100644 --- a/src/MusicStore/Logging/NullLogger.cs +++ b/src/MusicStore/Logging/NullLogger.cs @@ -1,5 +1,6 @@ -using Microsoft.AspNet.Logging; +using Microsoft.Framework.Logging; using System; + namespace MusicStore.Logging { public class NullLogger : ILogger diff --git a/src/MusicStore/Logging/NullLoggerFactory.cs b/src/MusicStore/Logging/NullLoggerFactory.cs index 1e3b184868..9fb8cc6c0e 100644 --- a/src/MusicStore/Logging/NullLoggerFactory.cs +++ b/src/MusicStore/Logging/NullLoggerFactory.cs @@ -1,4 +1,5 @@ -using Microsoft.AspNet.Logging; +using Microsoft.Framework.Logging; + namespace MusicStore.Logging { public class NullLoggerFactory : ILoggerFactory diff --git a/src/MusicStore/Startup.cs b/src/MusicStore/Startup.cs index 8b5786d165..b12f51635d 100644 --- a/src/MusicStore/Startup.cs +++ b/src/MusicStore/Startup.cs @@ -9,7 +9,7 @@ using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Entity; using Microsoft.AspNet.Identity.InMemory; using Microsoft.AspNet.Identity.Security; -using Microsoft.AspNet.Logging; +using Microsoft.Framework.Logging; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.RequestContainer; using Microsoft.AspNet.Routing; diff --git a/src/MusicStore/project.json b/src/MusicStore/project.json index 4423695580..15483dc03a 100644 --- a/src/MusicStore/project.json +++ b/src/MusicStore/project.json @@ -36,7 +36,7 @@ "Microsoft.Framework.ConfigurationModel.Json": "0.1-alpha-*", "Microsoft.AspNet.Security": "0.1-alpha-*", "Microsoft.AspNet.Security.Cookies": "0.1-alpha-*", - "Microsoft.AspNet.Logging": "0.1-alpha-*" + "Microsoft.Framework.Logging": "0.1-alpha-*" }, "commands": { "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5002",