| 93 | } |
| 94 | |
| 95 | void TEST_InitLog( const char *pszFilename ) |
| 96 | { |
| 97 | if ( g_logTimeZero ) |
| 98 | return; |
| 99 | |
| 100 | g_logTimeZero = SteamNetworkingUtils()->GetLocalTimestamp(); |
| 101 | |
| 102 | SteamNetworkingUtils()->SetDebugOutputFunction( k_ESteamNetworkingSocketsDebugOutputType_Debug, DebugOutput ); |
| 103 | |
| 104 | SteamNetworkingUtils()->SetGlobalConfigValueInt32( k_ESteamNetworkingConfig_LogLevel_P2PRendezvous, k_ESteamNetworkingSocketsDebugOutputType_Verbose ); |
| 105 | |
| 106 | if ( !g_fpLog ) |
| 107 | g_fpLog = fopen( pszFilename, "wt" ); |
| 108 | } |
| 109 | |
| 110 | void TEST_Init( const SteamNetworkingIdentity *pIdentity ) |
| 111 | { |
no test coverage detected