Files
fs2open.github.com/code/osapi/outwnd.h
T
asarium 7029e4a10f Add compile time option to enable logging in release builds
This mostly meant for special docker standalone server builds where it
might be useful to have full release performance but also have the logs
available if necessary. This now always compiles the log statements but
enables or disables them with a constexpr so they should not appear in
actual release binaries.
2020-02-24 18:54:55 +01:00

28 lines
764 B
C

/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#ifndef _OUTWND_H
#define _OUTWND_H
#include "globalincs/pstypes.h"
void load_filter_info();
void outwnd_init();
void outwnd_close();
void outwnd_printf(const char *id, SCP_FORMAT_STRING const char *format, ...) SCP_FORMAT_STRING_ARGS(2, 3);
void outwnd_printf2(SCP_FORMAT_STRING const char *format, ...) SCP_FORMAT_STRING_ARGS(1, 2);
void outwnd_debug_window_init();
void outwnd_debug_window_do_frame(float frametime);
void outwnd_debug_window_deinit();
extern bool Log_debug_output_to_file;
#endif // _OUTWND_H