diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 14:10:52 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 14:10:52 +0200 |
commit | f8bc2a06a90c0ee172054db7ae2e1fdae09d14a3 (patch) | |
tree | e858037e49a8a94734026d636fceb28a00b1ab99 /src/crepe/util/log.h | |
parent | 509fb6ebdd27bc75375c1c51024ea906e25032c0 (diff) |
code standard v3
Diffstat (limited to 'src/crepe/util/log.h')
-rw-r--r-- | src/crepe/util/log.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crepe/util/log.h b/src/crepe/util/log.h index bfe7291..2b0fbe1 100644 --- a/src/crepe/util/log.h +++ b/src/crepe/util/log.h @@ -7,7 +7,7 @@ // utility macros #define _crepe_logf_here(fmt, ...) \ - crepe::util::logf(util::log_level::debug, "%s%s (%s:%d)" fmt "\n", \ + crepe::util::logf(util::log_level::DEBUG, "%s%s (%s:%d)" fmt "\n", \ crepe::util::color::FG_WHITE, __PRETTY_FUNCTION__, \ __FILE_NAME__, __LINE__, crepe::util::color::RESET, \ __VA_ARGS__) @@ -24,10 +24,10 @@ namespace crepe::util { enum log_level { - debug, - info, - warning, - error, + DEBUG, + INFO, + WARNING, + ERROR, }; void logf(const char * fmt, ...); |