1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Refine log

This commit is contained in:
winlin 2020-09-17 16:25:24 +08:00
parent 7459f287e0
commit 5b3f278243
4 changed files with 20 additions and 3 deletions

View file

@ -32,6 +32,11 @@
#include <srs_app_reload.hpp>
#include <srs_service_log.hpp>
// For log TAGs.
#define TAG_MAIN "MAIN"
#define TAG_MAYBE "MAYBE"
#define TAG_DTLS_ALERT "DTLSALERT"
// Use memory/disk cache and donot flush when write log.
// it's ok to use it without config, which will log to console, and default trace level.
// when you want to use different level, override this classs, set the protected _level.