Simon Ser
|
32683879e7
|
Add newline after function return type
Aligns our style with Linux' and Weston's.
|
2021-08-13 22:02:33 +02:00 |
|
Simon Ser
|
61fd4c099a
|
Make liftoff_output_apply return an int
Callers may want to get more details about the failure, in
particular EPERM indicates that the user isn't DRM master (can
happen on VT switch).
|
2021-07-27 12:28:00 +02:00 |
|
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 |
|