aboutsummaryrefslogtreecommitdiffstats
path: root/sway/log.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-08-08 17:01:22 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-08-08 17:01:27 -0400
commit0427fddb5a919ae6b3a4205e057ae36133bfbc47 (patch)
treebf4e163872f63ad955148907f4ce03b63ed5384c /sway/log.h
parentDestroy outputs when appropriate (diff)
downloadsway-0427fddb5a919ae6b3a4205e057ae36133bfbc47.tar.gz
sway-0427fddb5a919ae6b3a4205e057ae36133bfbc47.tar.zst
sway-0427fddb5a919ae6b3a4205e057ae36133bfbc47.zip
Add logging and new windows into layout tree
Diffstat (limited to 'sway/log.h')
-rw-r--r--sway/log.h15
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 @@
1#ifndef _SWAY_LOG_H
2#define _SWAY_LOG_H
3
4typedef enum {
5 L_SILENT = 0,
6 L_ERROR = 1,
7 L_INFO = 2,
8 L_DEBUG = 3,
9} log_importance_t;
10
11void init_log(int verbosity);
12void sway_log(int verbosity, char* format, ...);
13void sway_abort(char* format, ...);
14
15#endif