mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
move log level parse to app utility
This commit is contained in:
parent
f2f30dcc52
commit
ccba9ba9ba
3 changed files with 27 additions and 13 deletions
|
@ -30,4 +30,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
/**
|
||||
* convert level in string to log level in int.
|
||||
* @return the log level defined in SrsLogLevel.
|
||||
*/
|
||||
extern int srs_get_log_level(std::string level);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue