File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Assets/Thirdweb/Core/Scripts Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,22 +7,24 @@ public static class ThirdwebDebug
77 {
88 public static bool IsEnabled => ThirdwebManager . Instance != null && ThirdwebManager . Instance . showDebugLogs ;
99
10+ private const string PREFIX = "[Thirdweb] " ;
11+
1012 public static void Log ( object message )
1113 {
1214 if ( IsEnabled )
13- Debug . Log ( message ) ;
15+ Debug . Log ( PREFIX + message ) ;
1416 }
1517
1618 public static void LogWarning ( object message )
1719 {
1820 if ( IsEnabled )
19- Debug . LogWarning ( message ) ;
21+ Debug . LogWarning ( PREFIX + message ) ;
2022 }
2123
2224 public static void LogError ( object message )
2325 {
2426 if ( IsEnabled )
25- Debug . LogError ( message ) ;
27+ Debug . LogError ( PREFIX + message ) ;
2628 }
2729
2830 public static void LogException ( Exception exception )
You can’t perform that action at this time.
0 commit comments