Attention is currently required from: laforge. dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/26950 )
Change subject: logging: log to stderr when logging is not initialized ......................................................................
Patch Set 4:
(1 comment)
File src/logging.c:
https://gerrit.osmocom.org/c/libosmocore/+/26950/comment/d35f54f3_374c7206 PS2, Line 315: * Check whether the logging framework is initialized (osmo_log_info exists) */ : int log_initialized(void) : { : if (!osmo_log_info) : return 0; : return 1; : }
this is a non-inline function that does nothing else but exporting the value of an (already global, […]
This variable is global, but I think its not exported. I have put it as extern variable in the header file now so that I can use it directly from the macros. I also thought of doing this, but I wasn't sure if it is was a good idea to expose osmo_log_info.