1
0
forked from MeloNX/MeloNX
MeloNX/src/Ryujinx.Common/Logging/LogEventArgs.cs
2023-04-27 23:51:14 +02:00

23 lines
607 B
C#

using System;
namespace Ryujinx.Common.Logging
{
public class LogEventArgs : EventArgs
{
public readonly LogLevel Level;
public readonly TimeSpan Time;
public readonly string ThreadName;
public readonly string Message;
public readonly object Data;
public LogEventArgs(LogLevel level, TimeSpan time, string threadName, string message, object data = null)
{
Level = level;
Time = time;
ThreadName = threadName;
Message = message;
Data = data;
}
}
}