mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
log: Add swayc_log, use at a few key places.
swayc_log works just like sway_log, but appends type and name from given container to the log output.
This commit is contained in:
parent
c6bb23b7dd
commit
5a70853253
4 changed files with 31 additions and 2 deletions
|
|
@ -23,4 +23,6 @@ bool _sway_assert(bool condition, const char* format, ...) __attribute__((format
|
|||
void error_handler(int sig);
|
||||
|
||||
void layout_log(const swayc_t *c, int depth);
|
||||
const char *swayc_type_string(enum swayc_types type);
|
||||
void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4)));
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue