mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-24 03:39:56 -04:00
user ndebug for removing log debug
This commit is contained in:
parent
355df5a17a
commit
1bf388c006
1 changed files with 5 additions and 1 deletions
|
@ -140,7 +140,11 @@ namespace geode {
|
|||
}
|
||||
|
||||
template <typename ...Args>
|
||||
void debug(Args... args) { schedule(Severity::Debug, args...); }
|
||||
void debug(Args... args) {
|
||||
#ifndef NDEBUG
|
||||
schedule(Severity::Debug, args...);
|
||||
#endif
|
||||
}
|
||||
|
||||
template <typename ...Args>
|
||||
void info(Args... args) { schedule(Severity::Info, args...); }
|
||||
|
|
Loading…
Add table
Reference in a new issue