1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-09-20 22:13:35 +01:00
Ryujinx/Ryujinx.Common/Logging/LogEventArgs.cs

31 lines
849 B
C#
Raw Normal View History

2018-04-24 19:57:39 +01:00
using System;
namespace Ryujinx.Common.Logging
2018-04-24 19:57:39 +01:00
{
public class LogEventArgs : EventArgs
{
public readonly LogLevel Level;
public readonly TimeSpan Time;
public readonly string ThreadName;
2018-04-24 19:57:39 +01:00
public readonly string Message;
public readonly object Data;
2018-04-24 19:57:39 +01:00
public LogEventArgs(LogLevel level, TimeSpan time, string threadName, string message)
2018-04-24 19:57:39 +01:00
{
Level = level;
Time = time;
ThreadName = threadName;
Message = message;
}
public LogEventArgs(LogLevel level, TimeSpan time, string threadName, string message, object data)
{
Level = level;
Time = time;
ThreadName = threadName;
Message = message;
Data = data;
2018-04-24 19:57:39 +01:00
}
}
}