HardySimpson / zlog

A reliable, high-performance, thread safe, flexsible, clear-model, pure C logging library.
Apache License 2.0
2.25k stars 720 forks source link

fix "str is [], can't find level" error #268

Closed findix closed 2 months ago

findix commented 3 months ago

159 引入 log_level 默认值,但是在未配置的情况下,默认值是\0,引发 ERROR (1891873:level_list.c:141) str is [], can't find level 错误。

deemar commented 2 months ago

merged thx