aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Logging/LogEventArgs.cs
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-10-17 14:15:50 -0300
committergdkchan <gab.dark.100@gmail.com>2018-10-17 14:15:50 -0300
commitb3a4662be15bd63d5b70cf4be21d79959e11ccfc (patch)
treedaca12b81aafcae1651e89c434f2e7cfd8a85132 /Ryujinx.Common/Logging/LogEventArgs.cs
parent9b19ea3c87518234fd72a6dead727eb5d8379c0d (diff)
Move logging to Ryujinx.Common and make it a static class (#413)
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