| 52 | } |
| 53 | |
| 54 | static void DebugOutput( ESteamNetworkingSocketsDebugOutputType eType, const char *pszMsg ) |
| 55 | { |
| 56 | SteamNetworkingMicroseconds time = SteamNetworkingUtils()->GetLocalTimestamp() - g_logTimeZero; |
| 57 | printf( "%10.6f %s\n", time*1e-6, pszMsg ); |
| 58 | fflush(stdout); |
| 59 | if ( eType == k_ESteamNetworkingSocketsDebugOutputType_Bug ) |
| 60 | { |
| 61 | fflush(stdout); |
| 62 | fflush(stderr); |
| 63 | NukeProcess(1); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | static void FatalError( const char *fmt, ... ) |
| 68 | { |
no test coverage detected