mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 08:58:05 +02:00
automatically add new lines to log messages unless explicitly
called _without_new_line
This commit is contained in:
parent
c8e7fc693c
commit
f7726dbc72
1 changed files with 4 additions and 0 deletions
|
|
@ -106,8 +106,12 @@ while (0)
|
|||
#define ply_flush_log () \
|
||||
ply_logger_flush (ply_logger_get_default ())
|
||||
#define ply_log(format, args...) \
|
||||
ply_logger_inject (ply_logger_get_default (), format "\n", ##args)
|
||||
#define ply_log_without_new_line(format, args...) \
|
||||
ply_logger_inject (ply_logger_get_default (), format, ##args)
|
||||
#define ply_error(format, args...) \
|
||||
ply_logger_inject (ply_logger_get_error_default (), format "\n", ##args)
|
||||
#define ply_error_without_new_line(format, args...) \
|
||||
ply_logger_inject (ply_logger_get_error_default (), format, ##args)
|
||||
|
||||
#define ply_toggle_tracing() \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue