2018-04-24 20:57:39 +02:00
|
|
|
using System;
|
|
|
|
|
2018-10-17 19:15:50 +02:00
|
|
|
namespace Ryujinx.Common.Logging
|
2018-04-24 20:57:39 +02:00
|
|
|
{
|
|
|
|
public class LogEventArgs : EventArgs
|
|
|
|
{
|
2020-08-04 01:32:53 +02:00
|
|
|
public readonly LogLevel Level;
|
|
|
|
public readonly TimeSpan Time;
|
|
|
|
public readonly string ThreadName;
|
2018-04-24 20:57:39 +02:00
|
|
|
|
2020-08-04 01:32:53 +02:00
|
|
|
public readonly string Message;
|
|
|
|
public readonly object Data;
|
2018-04-24 20:57:39 +02:00
|
|
|
|
2023-03-21 23:41:19 +01:00
|
|
|
public LogEventArgs(LogLevel level, TimeSpan time, string threadName, string message, object data = null)
|
2019-01-11 01:11:46 +01:00
|
|
|
{
|
2020-01-13 01:21:54 +01:00
|
|
|
Level = level;
|
|
|
|
Time = time;
|
|
|
|
ThreadName = threadName;
|
|
|
|
Message = message;
|
|
|
|
Data = data;
|
2018-04-24 20:57:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|