Functions | |
def | console_has_colours |
Methods. | |
def | debug |
Console. | |
def | error |
def | logdebug |
def | logerror |
def | logfatal |
def | logwarn |
def | pretty_print |
def | warning |
Variables | |
string | bold = '1' |
list | colours |
tuple | has_colours = console_has_colours(sys.stdout) |
string | reset = "\x1b[0m" |
def rocon_utilities.console.console_has_colours | ( | stream | ) |
Methods.
Definition at line 18 of file console.py.
def rocon_utilities.console.debug | ( | msg | ) |
Console.
Definition at line 57 of file console.py.
def rocon_utilities.console.error | ( | msg | ) |
Definition at line 65 of file console.py.
def rocon_utilities.console.logdebug | ( | message | ) |
Definition at line 69 of file console.py.
def rocon_utilities.console.logerror | ( | message | ) |
Definition at line 77 of file console.py.
def rocon_utilities.console.logfatal | ( | message | ) |
Definition at line 81 of file console.py.
def rocon_utilities.console.logwarn | ( | message | ) |
Definition at line 73 of file console.py.
def rocon_utilities.console.pretty_print | ( | msg, | |
colour = white |
|||
) |
Definition at line 45 of file console.py.
def rocon_utilities.console.warning | ( | msg | ) |
Definition at line 61 of file console.py.
string rocon_utilities::console::bold = '1' |
Definition at line 35 of file console.py.
00001 [ 00002 bold, 00003 black, red, green, yellow, blue, magenta, cyan, white, 00004 bold_black, bold_red, bold_green, bold_yellow, bold_blue, bold_magenta, bold_cyan, bold_white 00005 ]
Definition at line 38 of file console.py.
tuple rocon_utilities::console::has_colours = console_has_colours(sys.stdout) |
Definition at line 31 of file console.py.
string rocon_utilities::console::reset = "\x1b[0m" |
Definition at line 33 of file console.py.