tool_logger.h 402 B

123456789101112131415161718192021222324
  1. #ifndef AFUN_TOOL_LOGGER_H
  2. #define AFUN_TOOL_LOGGER_H
  3. #ifdef __cplusplus
  4. #include "aFunToolExport.h"
  5. #include "tool_macro.h"
  6. #ifndef AFUN_TOOL_C
  7. namespace aFuntool {
  8. #endif
  9. class Logger;
  10. extern AFUN_TOOL_EXPORT class Logger *aFunSysLogger;
  11. AFUN_STATIC void setSysLogger(Logger *log);
  12. #ifndef AFUN_TOOL_C
  13. }
  14. #endif
  15. #include "tool_logger.inline.h"
  16. #endif
  17. #endif //AFUN_TOOL_LOGGER_H