diff options
Diffstat (limited to 'HACKING.md')
-rw-r--r-- | HACKING.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,9 +3,9 @@ | |||
3 | Use `sway_log(importance, fmt, ...)` to log. The following importances are | 3 | Use `sway_log(importance, fmt, ...)` to log. The following importances are |
4 | available: | 4 | available: |
5 | 5 | ||
6 | * `L_DEBUG`: Debug messages, only shows with `sway -d` | 6 | * `WLR_DEBUG`: Debug messages, only shows with `sway -d` |
7 | * `L_INFO`: Informational messages | 7 | * `WLR_INFO`: Informational messages |
8 | * `L_ERROR`: Error messages | 8 | * `WLR_ERROR`: Error messages |
9 | 9 | ||
10 | `sway_log` is a macro that calls `_sway_log` with the current filename and line | 10 | `sway_log` is a macro that calls `_sway_log` with the current filename and line |
11 | number, which are written into the log with your message. | 11 | number, which are written into the log with your message. |