| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
to improve readability
|
| |
|
| |
|
|
|
|
| |
use gnu.org/licences instead of a postal address, as suggested by Guido
|
|
|
|
|
|
| |
to work towards Python3 support
Gbp-Dch: Ignore
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
since I tend to use them instead of err and warn.
Closes: #728896
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
too match the output before the switch to Python's logging module
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Git-Dch: Ignore
|
|
|
|
| |
Closes: #612384
|
|
|
|
| |
this allows true and false as alias for on and off.
|
|
|
|
|
|
| |
so we can print errors before the option parsing finished.
Closes: #608004
|
|
This allows us to color and prefix the output.
Closes: #544332
|