00001 /* 00002 =========================================================================== 00003 Copyright (C) 1999-2005 Id Software, Inc. 00004 00005 This file is part of Quake III Arena source code. 00006 00007 Quake III Arena source code is free software; you can redistribute it 00008 and/or modify it under the terms of the GNU General Public License as 00009 published by the Free Software Foundation; either version 2 of the License, 00010 or (at your option) any later version. 00011 00012 Quake III Arena source code is distributed in the hope that it will be 00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with Foobar; if not, write to the Free Software 00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00020 =========================================================================== 00021 */ 00022 00023 /***************************************************************************** 00024 * name: l_log.h 00025 * 00026 * desc: log file 00027 * 00028 * $Archive: /source/code/botlib/l_log.h $ 00029 * 00030 *****************************************************************************/ 00031 00032 //open a log file 00033 void Log_Open(char *filename); 00034 //close the current log file 00035 void Log_Close(void); 00036 //close log file if present 00037 void Log_Shutdown(void); 00038 //write to the current opened log file 00039 void QDECL Log_Write(char *fmt, ...); 00040 //write to the current opened log file with a time stamp 00041 void QDECL Log_WriteTimeStamped(char *fmt, ...); 00042 //returns a pointer to the log file 00043 FILE *Log_FilePointer(void); 00044 //flush log file 00045 void Log_Flush(void); 00046
1.3.9.1