diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-16 11:02:56 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-16 11:02:56 -0400 |
commit | 7f8ebb7d0dcb687574554b877a0e84f48718df37 (patch) | |
tree | 9a58f9276059d3c88cb3a92d8229a911b33b0faf /include/log.h | |
parent | Add split [h|v|horizontal|vertical] command (diff) | |
download | sway-7f8ebb7d0dcb687574554b877a0e84f48718df37.tar.gz sway-7f8ebb7d0dcb687574554b877a0e84f48718df37.tar.zst sway-7f8ebb7d0dcb687574554b877a0e84f48718df37.zip |
Move headers to include/
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h new file mode 100644 index 00000000..e5075a39 --- /dev/null +++ b/include/log.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef _SWAY_LOG_H | ||
2 | #define _SWAY_LOG_H | ||
3 | |||
4 | typedef enum { | ||
5 | L_SILENT = 0, | ||
6 | L_ERROR = 1, | ||
7 | L_INFO = 2, | ||
8 | L_DEBUG = 3, | ||
9 | } log_importance_t; | ||
10 | |||
11 | void init_log(int verbosity); | ||
12 | void sway_log_colors(int mode); | ||
13 | void sway_log(int verbosity, char* format, ...); | ||
14 | void sway_abort(char* format, ...); | ||
15 | |||
16 | #endif | ||