257 LOG_Error, |
257 LOG_Error, |
258 LOG_Dev, |
258 LOG_Dev, |
259 }; |
259 }; |
260 |
260 |
261 // log() - universal access to the message log. Defined here so that I don't have |
261 // log() - universal access to the message log. Defined here so that I don't have |
262 // to include msglog.h here and recompile everything every time that file changes. |
262 // to include messagelog.h here and recompile everything every time that file changes. |
263 void DoLog( std::initializer_list<StringFormatArg> args ); |
263 void DoLog( std::initializer_list<StringFormatArg> args ); |
264 #ifndef IN_IDE_PARSER |
264 #ifndef IN_IDE_PARSER |
265 # define log(...) DoLog({ __VA_ARGS__ }); |
265 # define log(...) DoLog({ __VA_ARGS__ }); |
266 #else |
266 #else |
267 void log( const char* fmtstr, ... ); |
267 void log( const char* fmtstr, ... ); |