diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-03-16 23:54:55 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-03-16 23:56:01 +0100 |
commit | 18a7d819328bed66308289e89c3af99cbca9125b (patch) | |
tree | e047524b2cf1918adf6d2a98267ff5a15925b792 /tests/ctrl | |
parent | 9ab00721e57a441a5ac26a637621cefa15dc2a73 (diff) |
logging: fail gracefully if log_info() was not called
The logging code crashes if osmo_log_info is not set, which is typically
achieved by calling log_init(). Let's fail with a reasonable assert
and error message if the user forgets that.
Change-Id: If3007860d2efe6ea9aec27e7d7439d44a7cd19c2
Diffstat (limited to 'tests/ctrl')
0 files changed, 0 insertions, 0 deletions