mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 16:25:35 +00:00
fix debug printing in debug builds (yes)
This commit is contained in:
parent
b4850f09a9
commit
9c9f503e5c
@ -87,9 +87,9 @@ void RegisterThread(const std::string str);
|
|||||||
// if this is defined, we will show the full function signature infront of
|
// if this is defined, we will show the full function signature infront of
|
||||||
// each info/debug/warn... call instead of the 'filename:line' format.
|
// each info/debug/warn... call instead of the 'filename:line' format.
|
||||||
#if defined(BMP_FULL_FUNCTION_NAMES)
|
#if defined(BMP_FULL_FUNCTION_NAMES)
|
||||||
#define _this_location (ThreadName() + _function_name)
|
#define _this_location (ThreadName() + _function_name + " ")
|
||||||
#else
|
#else
|
||||||
#define _this_location (ThreadName() + _file_basename + ":" + _line)
|
#define _this_location (ThreadName() + _file_basename + ":" + _line + " ")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else // !defined(DEBUG)
|
#else // !defined(DEBUG)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user