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:
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
2
trunk/src/app/srs_app_log.hpp
Normal file → Executable 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue