1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-26 17:37:36 +01:00

updated to loggr rc2

This commit is contained in:
Kyle Spearrin 2016-06-21 00:30:36 -04:00
parent 37ec1de7a3
commit 6f7b8314bc
2 changed files with 7 additions and 6 deletions

View File

@ -20,7 +20,7 @@ using Repos = Bit.Core.Repositories.SqlServer;
using System.Text;
using StackExchange.Redis.Extensions.Core;
using StackExchange.Redis.Extensions.Protobuf;
//using Loggr.Extensions.Logging;
using Loggr.Extensions.Logging;
namespace Bit.Api
{
@ -154,10 +154,10 @@ namespace Bit.Api
if(!env.IsDevelopment())
{
//loggerFactory.AddLoggr(
// LogLevel.Error,
// globalSettings.Loggr.LogKey,
// globalSettings.Loggr.ApiKey);
loggerFactory.AddLoggr(
LogLevel.Error,
globalSettings.Loggr.LogKey,
globalSettings.Loggr.ApiKey);
}
// Add static files to the request pipeline.

View File

@ -18,7 +18,8 @@
"Microsoft.AspNetCore.Cors": "1.0.0-rc2-final",
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final",
"Microsoft.Extensions.Configuration.Binder": "1.0.0-rc2-final"
"Microsoft.Extensions.Configuration.Binder": "1.0.0-rc2-final",
"Loggr.Extensions.Logging": "1.0.0-rc2-final"
},
"tools": {