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

Refine code

This commit is contained in:
winlin 2017-05-13 21:47:20 +08:00
parent 92c8c0505d
commit 366d6bcb82
7 changed files with 41 additions and 12 deletions

View file

@ -76,9 +76,10 @@ public:
/**
* Generate the log header.
* @Param dangerous Whether log is warning or error, log the errno if true.
* @Param utc Whether use UTC time format in the log header.
* @Param psize Output the actual header size.
* @param dangerous Whether log is warning or error, log the errno if true.
* @param utc Whether use UTC time format in the log header.
* @param psize Output the actual header size.
* @remark It's a internal API.
*/
bool srs_log_header(char* buffer, int size, bool utc, bool dangerous, const char* tag, int cid, const char* level, int* psize);