Let's actually not log everything.

This commit is contained in:
Ske 2019-12-23 15:49:51 +01:00
parent 5448f734d4
commit 9dd945ddd9

View File

@ -14,7 +14,7 @@ namespace PluralKit.Bot {
protected override void OnEventWritten(EventWrittenEventArgs eventData) protected override void OnEventWritten(EventWrittenEventArgs eventData)
{ {
base.OnEventWritten(eventData); base.OnEventWritten(eventData);
Console.WriteLine($"{eventData.EventSource.Name}/{eventData.EventName}: {string.Join(", ", eventData.PayloadNames.Zip(eventData.Payload).Select(v => $"{v.First}={v.Second}" ))}"); // Console.WriteLine($"{eventData.EventSource.Name}/{eventData.EventName}: {string.Join(", ", eventData.PayloadNames.Zip(eventData.Payload).Select(v => $"{v.First}={v.Second}" ))}");
} }
} }
} }