Simon Ser
|
b08bbaa5e6
|
Split liftoff_log_init into set_handler and set_priority
This allows callers to change only one of those, without the other.
Also rename importance to priority and func to handler.
|
2021-03-31 12:44:24 +02:00 |
|
Roman Gilg
|
d68b1fc8d7
|
Add log verbosity helper
Separate function to check verbosity level, which can be used in other internal
parts as well.
|
2020-03-08 13:05:30 +01:00 |
|
Simon Ser
|
ba80e32054
|
Introduce liftoff_log_errno
Like perror, but uses the liftoff logging infrastructure.
|
2019-10-19 13:35:14 +03:00 |
|
Simon Ser
|
1ee86c6290
|
Add logging functions
This allows turning on and off debug logs, as well as defining a logging
callback.
|
2019-10-11 12:03:14 +03:00 |
|