mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-17 14:18:44 +02:00
* Fix typos * Remove unneeded using statements * Enforce var style more * Remove redundant qualifiers * Fix some indentation * Disable naming warnings on files with external enum names * Fix build * Mass find & replace for comments with no spacing * Standardize todo capitalization and for/if spacing
31 lines
885 B
C#
31 lines
885 B
C#
using System;
|
|
|
|
namespace Ryujinx.Common.Logging
|
|
{
|
|
public class LogEventArgs : EventArgs
|
|
{
|
|
public LogLevel Level { get; private set; }
|
|
public TimeSpan Time { get; private set; }
|
|
public int ThreadId { get; private set; }
|
|
|
|
public string Message { get; private set; }
|
|
public object Data { get; private set; }
|
|
|
|
public LogEventArgs(LogLevel level, TimeSpan time, int threadId, string message)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
} |