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

color text of error msg supported.

strerror msg supported.
This commit is contained in:
wenjie.zhao 2014-03-15 04:53:46 +08:00
parent 4235e9ae34
commit e0e3504e1d
3 changed files with 19 additions and 9 deletions

2
trunk/src/app/srs_app_log.hpp Normal file → Executable file
View file

@ -91,7 +91,7 @@ public:
virtual void error(const char* tag, int context_id, const char* fmt, ...);
private:
virtual bool generate_header(const char* tag, int context_id, const char* level_name, int* header_size);
virtual void write_log(char* str_log, int size);
virtual void write_log(char* str_log, int size, int _level);
};
#endif