aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/log.py
Commit message (Collapse)AuthorAge
* 8bit GuidoGuido Günther2018-02-26
|
* log; don't color the log message, only the markerGuido Günther2017-08-22
| | | | to improve readability
* Use compact forms of logging functionsGuido Günther2016-12-26
|
* pep8/pyflakes cleanupsGuido Günther2016-09-12
|
* Fix FSF address - thanks rpmlintEvgeni Golov2015-06-22
| | | | use gnu.org/licences instead of a postal address, as suggested by Guido
* Convert zip and map to listGuido Günther2015-02-20
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* log: fix auto colorizing for custom streamsMarkus Lehtonen2014-12-05
| | | | | | | Check for existence of isatty() method in the stream object. Some custom streams (e.g. in nose) do not necessarily have this. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* log: add error and warning aliasesGuido Günther2013-11-06
| | | | | | since I tend to use them instead of err and warn. Closes: #728896
* log: make color setting a tristate on/off/autoMarkus Lehtonen2013-01-16
| | | | | | | Makes it possible to force color=on e.g. when piping output. Also, moves all 'auto' logic to one single place, i.e. the streamhandler. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* gbp.log: Improve error message on broken color listsGuido Günther2012-11-25
|
* log: add support for setting the color schemeMarkus Lehtonen2012-11-25
| | | | | | | | | | | Implements changeable color schemes in the gbp.log module. Color scheme is given as a colon-separated list, with one color for each log level: '<debug_color>:<info_color>:<warning_colro>:<error_color>'. Colors can be given as an integer number (ANSI terminal color code) or color name (.e.g 'red'). Missing or empty fields are interpreted as using the default color for that log level. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* gbp.log: lowercase the levelnameGuido Günther2012-11-25
| | | | too match the output before the switch to Python's logging module
* log: rewrite the module to use Python logging moduleMarkus Lehtonen2012-11-25
| | | | | | | | Replaces the Logger with a new one, derived from the Logger class of the Python standard library. Colorized output is handled by a separate handler class. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Remove unused moduleGuido Günther2011-11-30
| | | | Git-Dch: Ignore
* logging: don't use color inside Emacs's comint shellGuido Günther2011-02-08
| | | | Closes: #612384
* Use tristate option for --color=valueGuido Günther2011-01-08
| | | | this allows true and false as alias for on and off.
* Initialize Logger.get_color{,off}Guido Günther2010-12-25
| | | | | | so we can print errors before the option parsing finished. Closes: #608004
* Add logging functionsGuido Günther2010-11-16
This allows us to color and prefix the output. Closes: #544332