logger_defs.cpp 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. WARNING: Generated from ../scripts/generate-logging-defs.tcl
  3. DO NOT MODIFY.
  4. Copyright applies as per the generator script.
  5. */
  6. #include "srt.h"
  7. #include "logging.h"
  8. #include "logger_defs.h"
  9. namespace srt_logging { AllFaOn logger_fa_all; }
  10. // We need it outside the namespace to preserve the global name.
  11. // It's a part of "hidden API" (used by applications)
  12. SRT_API srt_logging::LogConfig srt_logger_config(srt_logging::logger_fa_all.allfa);
  13. namespace srt_logging
  14. {
  15. Logger gglog(SRT_LOGFA_GENERAL, srt_logger_config, "SRT.gg");
  16. Logger smlog(SRT_LOGFA_SOCKMGMT, srt_logger_config, "SRT.sm");
  17. Logger cnlog(SRT_LOGFA_CONN, srt_logger_config, "SRT.cn");
  18. Logger xtlog(SRT_LOGFA_XTIMER, srt_logger_config, "SRT.xt");
  19. Logger tslog(SRT_LOGFA_TSBPD, srt_logger_config, "SRT.ts");
  20. Logger rslog(SRT_LOGFA_RSRC, srt_logger_config, "SRT.rs");
  21. Logger cclog(SRT_LOGFA_CONGEST, srt_logger_config, "SRT.cc");
  22. Logger pflog(SRT_LOGFA_PFILTER, srt_logger_config, "SRT.pf");
  23. Logger aclog(SRT_LOGFA_API_CTRL, srt_logger_config, "SRT.ac");
  24. Logger qclog(SRT_LOGFA_QUE_CTRL, srt_logger_config, "SRT.qc");
  25. Logger eilog(SRT_LOGFA_EPOLL_UPD, srt_logger_config, "SRT.ei");
  26. Logger arlog(SRT_LOGFA_API_RECV, srt_logger_config, "SRT.ar");
  27. Logger brlog(SRT_LOGFA_BUF_RECV, srt_logger_config, "SRT.br");
  28. Logger qrlog(SRT_LOGFA_QUE_RECV, srt_logger_config, "SRT.qr");
  29. Logger krlog(SRT_LOGFA_CHN_RECV, srt_logger_config, "SRT.kr");
  30. Logger grlog(SRT_LOGFA_GRP_RECV, srt_logger_config, "SRT.gr");
  31. Logger aslog(SRT_LOGFA_API_SEND, srt_logger_config, "SRT.as");
  32. Logger bslog(SRT_LOGFA_BUF_SEND, srt_logger_config, "SRT.bs");
  33. Logger qslog(SRT_LOGFA_QUE_SEND, srt_logger_config, "SRT.qs");
  34. Logger kslog(SRT_LOGFA_CHN_SEND, srt_logger_config, "SRT.ks");
  35. Logger gslog(SRT_LOGFA_GRP_SEND, srt_logger_config, "SRT.gs");
  36. Logger inlog(SRT_LOGFA_INTERNAL, srt_logger_config, "SRT.in");
  37. Logger qmlog(SRT_LOGFA_QUE_MGMT, srt_logger_config, "SRT.qm");
  38. Logger kmlog(SRT_LOGFA_CHN_MGMT, srt_logger_config, "SRT.km");
  39. Logger gmlog(SRT_LOGFA_GRP_MGMT, srt_logger_config, "SRT.gm");
  40. Logger ealog(SRT_LOGFA_EPOLL_API, srt_logger_config, "SRT.ea");
  41. } // namespace srt_logging