diff options
Diffstat (limited to 'src/utils/logger.h')
-rw-r--r-- | src/utils/logger.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/logger.h b/src/utils/logger.h index ba64b10b..65846be5 100644 --- a/src/utils/logger.h +++ b/src/utils/logger.h @@ -82,6 +82,8 @@ class Logger Debug }; + static void initialize(const std::string &logFile); + /** * Sets the log file. * @@ -127,7 +129,7 @@ class Logger * * @param enable Set to true to enable logrotation. */ - static void enableLogRotation(bool enable = true) + static void setLogRotation(bool enable) { mLogRotation = enable; } /** |