1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.Common/Logging/LogEventArgs.cs

31 lines
885 B
C#
Raw Normal View History

2018-04-24 20:57:39 +02:00
using System;
namespace Ryujinx.Common.Logging
2018-04-24 20:57:39 +02:00
{
public class LogEventArgs : EventArgs
{
public LogLevel Level { get; private set; }
public TimeSpan Time { get; private set; }
public int ThreadId { get; private set; }
2018-04-24 20:57:39 +02:00
public string Message { get; private set; }
public object Data { get; private set; }
2018-04-24 20:57:39 +02:00
public LogEventArgs(LogLevel level, TimeSpan time, int threadId, string message)
2018-04-24 20:57:39 +02:00
{
Level = level;
Time = time;
ThreadId = threadId;
Message = message;
}
public LogEventArgs(LogLevel level, TimeSpan time, int threadId, string message, object data)
{
Level = level;
Time = time;
ThreadId = threadId;
Message = message;
Data = data;
2018-04-24 20:57:39 +02:00
}
}
}