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

add srs_log_file to write log to file. change to 0.9.27

This commit is contained in:
winlin 2014-03-23 12:21:36 +08:00
parent 4ddb5256ac
commit d94b9f44b3
10 changed files with 76 additions and 10 deletions

View file

@ -80,6 +80,8 @@ private:
// defined in SrsLogLevel.
int level;
char* log_data;
// log to file if specified srs_log_file
int fd;
public:
SrsFastLog();
virtual ~SrsFastLog();