| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
_sway_assert is a variadic function which tries
to delegate to another variadic function. This
requires a vprintf-style variant of the delegate.
https://stackoverflow.com/a/150616
|
| |
|
|
|
|
| |
This patch also makes all global variable in log.c static.
|
|
|
|
| |
This removes most preprocessor logic, leaving it only it the header.
|
|
|
|
| |
Ref #270
|
| |
|
|
|
|
|
|
|
| |
Replicates i3 option. Verbosity level given as command line argument
becomes default log level, and using 'debuglog toggle' switches back and
forth between default and debug (or L_ERROR and debug if default is also
L_DEBUG).
|
|
|
|
|
| |
swayc_log works just like sway_log, but appends type and name from given
container to the log output.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
returns false on a failed assertion in release mode and raises SIGABRT in debug mode
|
| |
|
|
|