| 37 | // |
| 38 | //***************************************************************************** |
| 39 | bool Debug_InitLogging() |
| 40 | { |
| 41 | IO::Filename log_filename; |
| 42 | |
| 43 | Dump_GetDumpDirectory(log_filename, ""); |
| 44 | |
| 45 | IO::Path::Append(log_filename, "daedalus.txt"); |
| 46 | |
| 47 | #ifdef DAEDALUS_DEBUG_CONSOLE |
| 48 | if ( CDebugConsole::IsAvailable() ) |
| 49 | { |
| 50 | CDebugConsole::Get()->Msg( 0, "Creating Dump file '%s'", log_filename ); |
| 51 | } |
| 52 | #endif |
| 53 | g_hOutputLog = fopen( log_filename, "w" ); |
| 54 | |
| 55 | return g_hOutputLog != NULL; |
| 56 | } |
| 57 | |
| 58 | //***************************************************************************** |
| 59 | // |
nothing calls this directly
no test coverage detected