1
0
Fork 0
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:
winlin 2014-04-10 14:20:02 +08:00
parent f2f30dcc52
commit ccba9ba9ba
3 changed files with 27 additions and 13 deletions

View file

@ -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