Skip to content

Commit 0e0aad5

Browse files
committed
Increase verbosity of test output
1 parent b97e1da commit 0e0aad5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_common.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static void DebugOutput( ESteamNetworkingSocketsDebugOutputType eType, const cha
2424
SteamNetworkingMicroseconds time = SteamNetworkingUtils()->GetLocalTimestamp() - g_logTimeZero;
2525
if ( g_fpLog )
2626
fprintf( g_fpLog, "%10.6f %s\n", time*1e-6, pszMsg );
27-
if ( eType <= k_ESteamNetworkingSocketsDebugOutputType_Msg )
27+
//if ( eType <= k_ESteamNetworkingSocketsDebugOutputType_Msg )
2828
{
2929
printf( "%10.6f %s\n", time*1e-6, pszMsg );
3030
fflush(stdout);
@@ -81,6 +81,8 @@ void TEST_Init( const SteamNetworkingIdentity *pIdentity )
8181
//SteamNetworkingUtils()->SetDebugOutputFunction( k_ESteamNetworkingSocketsDebugOutputType_Verbose, DebugOutput );
8282
//SteamNetworkingUtils()->SetDebugOutputFunction( k_ESteamNetworkingSocketsDebugOutputType_Msg, DebugOutput );
8383

84+
SteamNetworkingUtils()->SetGlobalConfigValueInt32( k_ESteamNetworkingConfig_LogLevel_P2PRendezvous, k_ESteamNetworkingSocketsDebugOutputType_Debug );
85+
8486
#ifdef STEAMNETWORKINGSOCKETS_OPENSOURCE
8587
SteamDatagramErrMsg errMsg;
8688
if ( !GameNetworkingSockets_Init( pIdentity, errMsg ) )

0 commit comments

Comments
 (0)