David Eklov
26842ff383
Add get_log_level() to encapsulate v (current log level)
...
This patch also makes all global variable in log.c static.
9 years ago
Eric Engestrom
cc9d1cacbb
common: refactor sway_log()
...
This removes most preprocessor logic, leaving it only it the header.
9 years ago
Drew DeVault
e0cb8284fb
Rearrange logging headers
...
Ref #270
9 years ago
Drew DeVault
d729032ba2
Add file and line number to log in Debug build
9 years ago
S. Christoffer Eliesen
9f02b0bf16
commands: Learn 'debuglog'.
...
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).
9 years ago
S. Christoffer Eliesen
5a70853253
log: Add swayc_log, use at a few key places.
...
swayc_log works just like sway_log, but appends type and name from given
container to the log output.
9 years ago
taiyu
1fa7a91bfb
move_container_to fixup
9 years ago
Luminarys
7c5b6f8c52
Added in backtrace printing
9 years ago
minus
8dfaf6265b
fixed #108 signed/unsigned comparison
9 years ago
minus
773e85c681
properly handle IPC clients
9 years ago
taiyu
c5a6982893
fixed some more bugs, moved layout_log into log.ch, restored focus_parent
9 years ago
minus
faccaf6112
added sway_assert function
...
returns false on a failed assertion in release mode and raises SIGABRT in debug mode
9 years ago
taiyu
c024f06631
handle_view_state_request
9 years ago
Drew DeVault
7f8ebb7d0d
Move headers to include/
10 years ago