Upgrade UTF8JSON to 1.3.7
This commit is contained in:
parent
acc8947782
commit
d40d89506e
3 changed files with 2 additions and 10 deletions
|
@ -42,7 +42,7 @@
|
||||||
<PackageReference Include="System.Runtime.Serialization.Primitives">
|
<PackageReference Include="System.Runtime.Serialization.Primitives">
|
||||||
<Version>4.3.0</Version>
|
<Version>4.3.0</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Utf8Json" Version="1.3.1" />
|
<PackageReference Include="Utf8Json" Version="1.3.7" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Update="Storage\checkEmPics">
|
<None Update="Storage\checkEmPics">
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Runtime.InteropServices.ComTypes;
|
|
||||||
using System.Security.Principal;
|
|
||||||
using Discord.Commands;
|
using Discord.Commands;
|
||||||
using Discord.Net;
|
using Discord.Net;
|
||||||
using Nancy.Extensions;
|
|
||||||
using Serilog;
|
|
||||||
using SharpRaven;
|
using SharpRaven;
|
||||||
using SharpRaven.Data;
|
using SharpRaven.Data;
|
||||||
using SharpRaven.Utilities;
|
|
||||||
using Utf8Json;
|
|
||||||
|
|
||||||
namespace Geekbot.net.Lib
|
namespace Geekbot.net.Lib
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Serilog;
|
using Serilog;
|
||||||
using Utf8Json;
|
using Utf8Json;
|
||||||
using Utf8Json.Formatters;
|
|
||||||
using Utf8Json.Resolvers;
|
|
||||||
|
|
||||||
namespace Geekbot.net.Lib
|
namespace Geekbot.net.Lib
|
||||||
{
|
{
|
||||||
|
@ -39,7 +37,7 @@ namespace Geekbot.net.Lib
|
||||||
|
|
||||||
private Task HandleLogObject(string type, string source, string message, Exception stackTrace = null, object extra = null)
|
private Task HandleLogObject(string type, string source, string message, Exception stackTrace = null, object extra = null)
|
||||||
{
|
{
|
||||||
var logJson = CreateLogObject(type, source, message, null, extra);
|
var logJson = CreateLogObject(type, source, message, stackTrace, extra);
|
||||||
// fuck serilog
|
// fuck serilog
|
||||||
_serilog.Information(logJson + "}");
|
_serilog.Information(logJson + "}");
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
|
|
Loading…
Reference in a new issue