From 5a70853253633482b09ebdcbde0f4ec7502c7527 Mon Sep 17 00:00:00 2001 From: "S. Christoffer Eliesen" Date: Sun, 25 Oct 2015 00:34:57 +0200 Subject: 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. --- include/log.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/log.h') diff --git a/include/log.h b/include/log.h index f8deaf26..806725a6 100644 --- a/include/log.h +++ b/include/log.h @@ -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 -- cgit v1.2.3-54-g00ecf