mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-23 20:36:49 +01:00
b2b736abc2
* 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
No EOL
885 B
C#
31 lines
No EOL
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;
|
|
}
|
|
}
|
|
} |