aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Logging/LogEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Common/Logging/LogEventArgs.cs')
-rw-r--r--Ryujinx.Common/Logging/LogEventArgs.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Ryujinx.Common/Logging/LogEventArgs.cs b/Ryujinx.Common/Logging/LogEventArgs.cs
new file mode 100644
index 00000000..7a479b71
--- /dev/null
+++ b/Ryujinx.Common/Logging/LogEventArgs.cs
@@ -0,0 +1,19 @@
+using System;
+
+namespace Ryujinx.Common.Logging
+{
+ public class LogEventArgs : EventArgs
+ {
+ public LogLevel Level { get; private set; }
+ public TimeSpan Time { get; private set; }
+
+ public string Message { get; private set; }
+
+ public LogEventArgs(LogLevel Level, TimeSpan Time, string Message)
+ {
+ this.Level = Level;
+ this.Time = Time;
+ this.Message = Message;
+ }
+ }
+} \ No newline at end of file