mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Simplified log macros
This commit is contained in:
parent
da97472600
commit
5a0e95dcf0
@ -97,9 +97,9 @@
|
||||
// Time functions for accuracy per frame
|
||||
#define ACE_tickTime (ACE_time + (diag_tickTime - ACE_diagTime))
|
||||
|
||||
#define ACE_LOG(module,level,message) diag_log text format [QUOTE([ACE] (%1) %2: %3), module, level, message];
|
||||
#define ACE_LOGERROR(message) ACE_LOG(QUOTE(COMPONENT),"ERROR",message)
|
||||
#define ACE_LOGWARNING(message) ACE_LOG(QUOTE(COMPONENT),"WARNING",message)
|
||||
#define ACE_LOGINFO(message) ACE_LOG(QUOTE(COMPONENT),"INFO",message)
|
||||
#define ACE_LOG(module,level,message) diag_log text format [QUOTE([ACE] (module) level: %1), message];
|
||||
#define ACE_LOGERROR(message) ACE_LOG(COMPONENT,ERROR,message)
|
||||
#define ACE_LOGWARNING(message) ACE_LOG(COMPONENT,WARNING,message)
|
||||
#define ACE_LOGINFO(message) ACE_LOG(COMPONENT,INFO,message)
|
||||
|
||||
#include "script_debug.hpp"
|
||||
|
Loading…
Reference in New Issue
Block a user