Serialize LogSource as string instead of numerical representation

This commit is contained in:
runebaas 2018-05-06 02:05:52 +02:00
parent fe5e2cb80f
commit 7eb62cb267
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -1,5 +1,9 @@
namespace Geekbot.net.Lib.Logger
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Geekbot.net.Lib.Logger
{
[JsonConverter(typeof(StringEnumConverter))]
public enum LogSource
{
Geekbot,