aboutsummaryrefslogtreecommitdiff
path: root/include/log.h
AgeCommit message (Collapse)Author
2018-07-09Update for swaywm/wlroots#1126emersion
2018-02-24update log.h for latest wlrTony Crisci
2018-01-05common/log: finish removing most log functionsDominique Martinet
Keep sway_abort and sway_assert and convert them to use wlr_log functions
2018-01-05sway: change all sway_log to wlr_logDominique Martinet
2017-04-20Make sway_abort() report locationJerzi Kaminsky
2017-04-16Fix location reported by sway_assertJerzi Kaminsky
2017-04-16Fix variadic forwarding in sway_assertJerzi Kaminsky
_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
2016-12-15Always log filename and line numberDrew DeVault
2016-06-27Add get_log_level() to encapsulate v (current log level)David Eklov
This patch also makes all global variable in log.c static.
2016-05-02common: refactor sway_log()Eric Engestrom
This removes most preprocessor logic, leaving it only it the header.
2015-11-28Rearrange logging headersDrew DeVault
Ref #270
2015-11-11Add file and line number to log in Debug buildDrew DeVault
2015-10-27commands: Learn 'debuglog'.S. Christoffer Eliesen
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).
2015-10-25log: Add swayc_log, use at a few key places.S. Christoffer Eliesen
swayc_log works just like sway_log, but appends type and name from given container to the log output.
2015-08-26move_container_to fixuptaiyu
2015-08-24Added in backtrace printingLuminarys
2015-08-21fixed #108 signed/unsigned comparisonminus
2015-08-20properly handle IPC clientsminus
2015-08-19fixed some more bugs, moved layout_log into log.ch, restored focus_parenttaiyu
2015-08-18added sway_assert functionminus
returns false on a failed assertion in release mode and raises SIGABRT in debug mode
2015-08-16handle_view_state_requesttaiyu
2015-08-16Move headers to include/Drew DeVault