mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-18 09:46:39 +00:00
ba95ee54ab
This reverts commit 4ce4299ca2
.
31 lines
No EOL
849 B
C#
31 lines
No EOL
849 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)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
} |