FS2_Open
Open source remastering of the Freespace 2 engine
generic_log.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell
5  * or otherwise commercially exploit the source or things you created based on the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef _FREESPACE_LOGFILE_HEADER_FILE
13 #define _FREESPACE_LOGFILE_HEADER_FILE
14 
15 // ----------------------------------------------------------------------------------------------------
16 // LOGFILE DEFINES/VARS
17 //
18 #define LOGFILE_MULTI_LOG 0
19 #define LOGFILE_EVENT_LOG 1
20 
21 
22 // ----------------------------------------------------------------------------------------------------
23 // MULTI LOGFILE FUNCTIONS
24 //
25 
26 // initialize the multi logfile
27 bool logfile_init(int logfile_type);
28 
29 // close down the multi logfile
30 void logfile_close(int logfile_type);
31 
32 // printf function itself called by the log_printf macro
33 void log_printf(int logfile_type, char *format, ...);
34 
35 // string print function
36 void log_string(int logfile_type, const char *string, int add_time = 0);
37 
38 #endif
GLenum GLsizei GLenum format
Definition: Gl.h:1509
void logfile_close(int logfile_type)
Definition: generic_log.cpp:72
void log_string(int logfile_type, const char *string, int add_time=0)
void log_printf(int logfile_type, char *format,...)
Definition: generic_log.cpp:83
bool logfile_init(int logfile_type)
Definition: generic_log.cpp:53