mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: add srt log handle, srs log supoort multithread
This commit is contained in:
parent
d03c6793b8
commit
910b5945af
5 changed files with 61 additions and 0 deletions
|
@ -39,6 +39,9 @@ private:
|
|||
bool log_to_file_tank;
|
||||
// Whether use utc time.
|
||||
bool utc;
|
||||
// TODO: FIXME: use macro define like SRS_MULTI_THREAD_LOG to switch enable log mutex or not.
|
||||
// Mutex for multithread log.
|
||||
pthread_mutex_t mutex_;
|
||||
public:
|
||||
SrsFileLog();
|
||||
virtual ~SrsFileLog();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue