diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-03-21 20:14:46 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 20:14:46 -0300 |
commit | ba95ee54abf4905d38f3563881a1643f102993b3 (patch) | |
tree | 4a17ec5f209e64e4944b7deceec5dbdf1e0d9dc3 /Ryujinx.Common/Logging/LogEventArgs.cs | |
parent | 4ce4299ca2a6b11332f2341c69f40efd7205282f (diff) |
Revert "Use source generated json serializers in order to improve code trimming (#4094)" (#4576)1.1.675
This reverts commit 4ce4299ca2a6b11332f2341c69f40efd7205282f.
Diffstat (limited to 'Ryujinx.Common/Logging/LogEventArgs.cs')
-rw-r--r-- | Ryujinx.Common/Logging/LogEventArgs.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Ryujinx.Common/Logging/LogEventArgs.cs b/Ryujinx.Common/Logging/LogEventArgs.cs index a27af780..511c8e6e 100644 --- a/Ryujinx.Common/Logging/LogEventArgs.cs +++ b/Ryujinx.Common/Logging/LogEventArgs.cs @@ -11,7 +11,15 @@ namespace Ryujinx.Common.Logging public readonly string Message; public readonly object Data; - public LogEventArgs(LogLevel level, TimeSpan time, string threadName, string message, object data = null) + public LogEventArgs(LogLevel level, TimeSpan time, string threadName, string message) + { + Level = level; + Time = time; + ThreadName = threadName; + Message = message; + } + + public LogEventArgs(LogLevel level, TimeSpan time, string threadName, string message, object data) { Level = level; Time = time; |