aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Common/Logging/Formatters/DynamicObjectFormatter.cs
diff options
context:
space:
mode:
authorTSRBerry <20988865+TSRBerry@users.noreply.github.com>2023-06-01 15:47:53 +0200
committerGitHub <noreply@github.com>2023-06-01 13:47:53 +0000
commitf4539c49d8def4c6086a61fe4bd9ed9665fac4b1 (patch)
treea8c22c3b1fb8bbe4a7affc931da7f7c4abd04c8d /src/Ryujinx.Common/Logging/Formatters/DynamicObjectFormatter.cs
parent12c62fdbc223af1fcd0aca9f0146a6dff38ec1b3 (diff)
[Logger] Add print with stacktrace method (#5129)1.1.852
* Add print with stacktrace method * Adjust logging namespaces * Add static keyword to DynamicObjectFormatter
Diffstat (limited to 'src/Ryujinx.Common/Logging/Formatters/DynamicObjectFormatter.cs')
-rw-r--r--src/Ryujinx.Common/Logging/Formatters/DynamicObjectFormatter.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Ryujinx.Common/Logging/Formatters/DynamicObjectFormatter.cs b/src/Ryujinx.Common/Logging/Formatters/DynamicObjectFormatter.cs
index 5f15cc2a..6e3b0043 100644
--- a/src/Ryujinx.Common/Logging/Formatters/DynamicObjectFormatter.cs
+++ b/src/Ryujinx.Common/Logging/Formatters/DynamicObjectFormatter.cs
@@ -3,9 +3,9 @@ using System;
using System.Reflection;
using System.Text;
-namespace Ryujinx.Common.Logging
+namespace Ryujinx.Common.Logging.Formatters
{
- internal class DynamicObjectFormatter
+ internal static class DynamicObjectFormatter
{
private static readonly ObjectPool<StringBuilder> StringBuilderPool = SharedPools.Default<StringBuilder>();
@@ -17,7 +17,7 @@ namespace Ryujinx.Common.Logging
}
StringBuilder sb = StringBuilderPool.Allocate();
-
+
try
{
Format(sb, dynamicObject);