log_common.h 551 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) 2021 Alibaba Group Holding Limited
  3. * Author: LuChongzhi <chongzhi.lcz@alibaba-inc.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef __LOG_COMMON_H__
  10. #define __LOG_COMMON_H__
  11. #include <stdio.h>
  12. #include <stdlib.h>
  13. #include <stdint.h>
  14. #include <unistd.h>
  15. #include <string.h>
  16. int printf_green(char *fmt, ...);
  17. int printf_red(char *fmt, ...);
  18. #endif /* __LOG_COMMON_H__ */