init.inline.h 655 B

12345678910111213141516171819202122
  1. #ifndef AFUN_INIT_INLINE_H
  2. #define AFUN_INIT_INLINE_H
  3. #include "init.h"
  4. namespace aFunit {
  5. InitInfo::InitInfo(aFuntool::LogFactory &factor_,
  6. aFuntool::Logger &afun_logger_,
  7. aFuntool::Logger &core_logger_,
  8. aFuntool::Logger &code_logger_,
  9. aFuntool::Logger &sys_logger_)
  10. : factor{factor_}, core_logger{core_logger_}, code_logger{code_logger_}, sys_logger{sys_logger_}, afun_logger{afun_logger_} {
  11. }
  12. void setAFunLogger(aFuntool::Logger *log) {
  13. aFunLogger = log;
  14. }
  15. }
  16. #endif //AFUN_INIT_INLINE_H