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:
parent
7459f287e0
commit
5b3f278243
4 changed files with 20 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue