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
7
7
{
8
8
public static bool IsEnabled => ThirdwebManager . Instance != null && ThirdwebManager . Instance . showDebugLogs ;
9
9
10
+ private const string PREFIX = "[Thirdweb] " ;
11
+
10
12
public static void Log ( object message )
11
13
{
12
14
if ( IsEnabled )
13
- Debug . Log ( message ) ;
15
+ Debug . Log ( PREFIX + message ) ;
14
16
}
15
17
16
18
public static void LogWarning ( object message )
17
19
{
18
20
if ( IsEnabled )
19
- Debug . LogWarning ( message ) ;
21
+ Debug . LogWarning ( PREFIX + message ) ;
20
22
}
21
23
22
24
public static void LogError ( object message )
23
25
{
24
26
if ( IsEnabled )
25
- Debug . LogError ( message ) ;
27
+ Debug . LogError ( PREFIX + message ) ;
26
28
}
27
29
28
30
public static void LogException ( Exception exception )
You can’t perform that action at this time.
0 commit comments