src/common.h

changeset 351
6fdd32c4886c
parent 327
9ea604af1319
child 374
6c30af56af11
equal deleted inserted replaced
350:05a2ccd19547 351:6fdd32c4886c
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, ... );

mercurial