aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/logger.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-10 18:38:31 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-10 18:38:31 +0000
commit21ebdb0b3206bef69fee2b5f9b34573a516eddb4 (patch)
tree5fac3b692fecc7899f8c746e2116cdf6e2eee7b1 /yage/core/logger.h
parentfe9fa3a98166718171b7687c24c289b4a2b5cf44 (diff)
parent5fe329fe40c296a4a3dce9bc5543419ac954e4b0 (diff)
downloadYAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.tar.gz
YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.zip
Merge branch 'develop'
Diffstat (limited to 'yage/core/logger.h')
-rw-r--r--yage/core/logger.h7
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__))