mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
always use system log and context. allow hijack the human print macro.
This commit is contained in:
parent
3584bdb7b6
commit
f6032ffe6b
2 changed files with 10 additions and 9 deletions
|
@ -48,12 +48,9 @@ using namespace std;
|
|||
#include <srs_kernel_file.hpp>
|
||||
#include <srs_lib_bandwidth.hpp>
|
||||
|
||||
// if want to use your log, define the folowing macro.
|
||||
#ifndef SRS_HIJACK_LOG
|
||||
// kernel module.
|
||||
ISrsLog* _srs_log = new ISrsLog();
|
||||
ISrsThreadContext* _srs_context = new ISrsThreadContext();
|
||||
#endif
|
||||
// kernel module.
|
||||
ISrsLog* _srs_log = new ISrsLog();
|
||||
ISrsThreadContext* _srs_context = new ISrsThreadContext();
|
||||
|
||||
/**
|
||||
* export runtime context.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue