Commit graph

4 commits

Author SHA1 Message Date
f0f3f6661b
Improve utilities dbg_msg documentation
Added documentation for the various severity levels a dbg_msg function
call can have (info, warn, error).
2020-12-22 11:27:23 +01:00
452ed51eb8
Fix debug information printing
Will print debug info to libnotify but additionally print everything to
stdout now.

This should help when explicitly invoking styler from a shell (by
setting `export STYLER_DEBUG=2` or `=3`) and either reading the output
there or redirecting it to a file.
2020-09-23 16:41:36 +02:00
27f0988a5e
Add libnotify notification if found
If `send-notify` is recognized as valid command, the dbg_msg function
will send it there instead of printing it to stdout. The urgency of the
message corresponds with low/normal/critical to the debug levels
info/warn/error.
2020-02-16 09:58:58 +01:00
c29f9528ec Create utility framework for often used functions 2020-01-31 12:14:48 +01:00