diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-10 18:38:31 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-10 18:38:31 +0000 |
commit | 21ebdb0b3206bef69fee2b5f9b34573a516eddb4 (patch) | |
tree | 5fac3b692fecc7899f8c746e2116cdf6e2eee7b1 /yage/core/logger.h | |
parent | fe9fa3a98166718171b7687c24c289b4a2b5cf44 (diff) | |
parent | 5fe329fe40c296a4a3dce9bc5543419ac954e4b0 (diff) | |
download | YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.tar.gz YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.zip |
Merge branch 'develop'
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__)) |