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

Log: Stat the number of logs. v5.0.45

This commit is contained in:
winlin 2022-08-26 12:21:44 +08:00
parent 5757950860
commit a54d371549
5 changed files with 21 additions and 3 deletions

View file

@ -18,6 +18,7 @@
#include <srs_app_utility.hpp>
#include <srs_app_uuid.hpp>
#include <srs_app_statistic.hpp>
#include <srs_app_tencentcloud.hpp>
#include <unistd.h>
#include <sstream>
@ -155,6 +156,9 @@ void srs_build_features(stringstream& ss)
SRS_CHECK_FEATURE(exec, ss);
SRS_CHECK_FEATURE(transcode, ss);
SRS_CHECK_FEATURE(security, ss);
SRS_CHECK_FEATURE2(_srs_cls->enabled(), "cls", ss);
SRS_CHECK_FEATURE3(_srs_cls->nn_logs(), "logs", _srs_cls->nn_logs(), ss);
}
SrsLatestVersion::SrsLatestVersion()