diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-08 14:09:43 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-08 14:09:43 +0000 |
commit | c514e44b73b3fc4db492e4bd333fa223c6c1eef5 (patch) | |
tree | bb1cc421392f263531b82ad1a67454eb351bbd74 /yage/core/logger.h | |
parent | 0a42123b150e06f28ae82e460e854984c2dc9648 (diff) | |
download | YAGE-c514e44b73b3fc4db492e4bd333fa223c6c1eef5.tar.gz YAGE-c514e44b73b3fc4db492e4bd333fa223c6c1eef5.zip |
[Engine] Adding entity/component system
Diffstat (limited to 'yage/core/logger.h')
-rw-r--r-- | yage/core/logger.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/yage/core/logger.h b/yage/core/logger.h index 2423f3c3..2249f79c 100644 --- a/yage/core/logger.h +++ b/yage/core/logger.h @@ -29,8 +29,8 @@ public: explicit Logger(LogLevel min_level); Logger(LogLevel min_level, const std::string &file_path); - LogMessage operator()(LogLevel level = LogLevel::INFO, const std::string &fileName = "", - int lineNum = -1); + LogMessage operator()(LogLevel level = LogLevel::INFO, + const std::string &fileName = "", int lineNum = -1); void flush(const LogMessage *msg); void add(const LogSink &sink); @@ -55,7 +55,8 @@ private: #define yLogDebug \ (yage::Logger::instance()(yage::LogLevel::DEBUG, __FILE__, __LINE__)) -#define yLogInfo (yage::Logger::instance()(yage::LogLevel::INFO, __FILE__, __LINE__)) +#define yLogInfo \ + (yage::Logger::instance()(yage::LogLevel::INFO, __FILE__, __LINE__)) #define yLogWarning \ (yage::Logger::instance()(yage::LogLevel::WARNING, __FILE__, __LINE__)) |