mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
CLS: Refine logging to global object.
This commit is contained in:
parent
8bc7342c3c
commit
6dc86b8a2e
3 changed files with 75 additions and 70 deletions
|
@ -391,7 +391,7 @@ srs_error_t SrsHybridServer::on_timer(srs_utime_t interval)
|
|||
);
|
||||
|
||||
// Report logs to CLS if enabled.
|
||||
if ((err = srs_cls_report()) != srs_success) {
|
||||
if ((err = _srs_cls->report()) != srs_success) {
|
||||
srs_warn("ignore cls err %s", srs_error_desc(err).c_str());
|
||||
srs_freep(err);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue