aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-03 08:02:46 -0400
committerDrew DeVault <sir@cmpwn.com>2018-10-03 08:02:46 -0400
commit54a835e962b45683e1def4a9aaf1c1371fb4aa28 (patch)
tree10a0b281ae4bbb70d366048cecd392a81ea31a65
parente60ad3f677bfc788568cc30ab12dc2ea6fa2a493 (diff)
Remove HACKING.md
Half of this is outdated and the other half is questionable.
-rw-r--r--HACKING.md24
1 files changed, 0 insertions, 24 deletions
diff --git a/HACKING.md b/HACKING.md
deleted file mode 100644
index 8965d3ec..00000000
--- a/HACKING.md
+++ /dev/null
@@ -1,24 +0,0 @@
-## Logging
-
-Use `sway_log(importance, fmt, ...)` to log. The following importances are
-available:
-
-* `WLR_DEBUG`: Debug messages, only shows with `sway -d`
-* `WLR_INFO`: Informational messages
-* `WLR_ERROR`: Error messages
-
-`sway_log` is a macro that calls `_sway_log` with the current filename and line
-number, which are written into the log with your message.
-
-## Assertions
-
-In the compositor, assertions *must not* be fatal. All error cases must be
-handled as gracefully as possible - crashing the compositor will make the user
-lose all of their work.
-
-Use `sway_assert(condition, fmt, ...)` to perform an assertion. This returns
-`condition`, which you must handle if false. An error will be logged if the
-assertion fails.
-
-Outside of the compositor (swaymsg, swaybar, etc), using `assert.h` is
-permitted.