summaryrefslogtreecommitdiffstats
path: root/HACKING.md
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-07-09 16:23:03 -0700
committerLibravatar GitHub <noreply@github.com>2018-07-09 16:23:03 -0700
commitfbeef1322f5d10c1e2dac0d7de2358a59f442455 (patch)
tree76624b3d4820551261e5c15f773c403c1a41264e /HACKING.md
parentMerge pull request #2223 from RyanDwyer/floating-move (diff)
parentUpdate for swaywm/wlroots#1126 (diff)
downloadsway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.tar.gz
sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.tar.zst
sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.zip
Merge pull request #2234 from emersion/wlr-log-prefix
Update for swaywm/wlroots#1126
Diffstat (limited to 'HACKING.md')
-rw-r--r--HACKING.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/HACKING.md b/HACKING.md
index 3600db24..8965d3ec 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -3,9 +3,9 @@
3Use `sway_log(importance, fmt, ...)` to log. The following importances are 3Use `sway_log(importance, fmt, ...)` to log. The following importances are
4available: 4available:
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
11number, which are written into the log with your message. 11number, which are written into the log with your message.