aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Common/Logging/LogEventArgs.cs
blob: a27af78099058c18de83816dcef096dc0c1955e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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, object data = null)
        {
            Level      = level;
            Time       = time;
            ThreadName = threadName;
            Message    = message;
            Data       = data;
        }
    }
}