diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-08 17:01:22 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-08 17:01:27 -0400 |
commit | 0427fddb5a919ae6b3a4205e057ae36133bfbc47 (patch) | |
tree | bf4e163872f63ad955148907f4ce03b63ed5384c /sway/log.h | |
parent | 2786fa2215bf6d66a7e4feea4e7e12b0dc8d4ba4 (diff) |
Add logging and new windows into layout tree
Diffstat (limited to 'sway/log.h')
-rw-r--r-- | sway/log.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sway/log.h b/sway/log.h new file mode 100644 index 00000000..019012d3 --- /dev/null +++ b/sway/log.h @@ -0,0 +1,15 @@ +#ifndef _SWAY_LOG_H +#define _SWAY_LOG_H + +typedef enum { + L_SILENT = 0, + L_ERROR = 1, + L_INFO = 2, + L_DEBUG = 3, +} log_importance_t; + +void init_log(int verbosity); +void sway_log(int verbosity, char* format, ...); +void sway_abort(char* format, ...); + +#endif |