Introduce libseat_set_log_level
The default level is SILENT. log_init no longer takes an initial log level (so that calls to libseat_set_log_level prior to log_init work correctly).
This commit is contained in:
parent
48b9bf4707
commit
07ceeeebe0
5 changed files with 18 additions and 6 deletions
|
@ -37,7 +37,7 @@ struct libseat *libseat_open_seat(struct libseat_seat_listener *listener, void *
|
|||
return NULL;
|
||||
}
|
||||
|
||||
log_init(LIBSEAT_LOG_LEVEL_SILENT);
|
||||
log_init();
|
||||
|
||||
char *backend_type = getenv("LIBSEAT_BACKEND");
|
||||
struct libseat *backend = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue