1
0

tool_log.inline.h 401 B

123456789101112131415161718192021
  1. #ifndef AFUN_TOOL_LOG_INLINE_H
  2. #define AFUN_TOOL_LOG_INLINE_H
  3. #ifdef __cplusplus
  4. #include "tool_log.h"
  5. #ifndef AFUN_TOOL_C
  6. namespace aFuntool {
  7. #endif
  8. Logger::Logger(LogFactory &factor, std::string id, LogLevel level, bool exit) noexcept
  9. : factor_{factor}, id_{std::move(id)}, level_{level}, exit_{exit} {
  10. }
  11. #ifndef AFUN_TOOL_C
  12. }
  13. #endif
  14. #endif
  15. #endif //AFUN_TOOL_LOG_INLINE_H