test.c 491 B

123456789101112131415161718192021222324
  1. /*
  2. * @Author: jiejie
  3. * @Github: https://github.com/jiejieTop
  4. * @Date: 2019-12-26 20:00:29
  5. * @LastEditTime : 2019-12-26 20:56:50
  6. * @Description: the code belongs to jiejie, please keep the author information and source code according to the license.
  7. */
  8. #include "salof.h"
  9. #include <stdio.h>
  10. #include <unistd.h>
  11. int main()
  12. {
  13. salof_init();
  14. LOG_INFO("asfafasf");
  15. sleep(1);
  16. LOG_ERR("asfafasf");
  17. LOG_WARN("asfafasf");
  18. LOG_DEBUG("asfafasf\n");
  19. sleep(1);
  20. }