Functions | |
def | console_has_colours |
Methods. | |
def | debug |
Console. | |
def | error |
def | logdebug |
def | logerror |
def | logfatal |
def | loginfo |
def | logwarn |
def | pretty_print |
def | pretty_println |
def | warning |
Variables | |
string | bold = "\x1b[%sm" |
list | colours |
tuple | has_colours = console_has_colours(sys.stdout) |
string | reset = "\x1b[0m" |
def rocon_console.console.console_has_colours | ( | stream | ) |
Methods.
Definition at line 17 of file console.py.
def rocon_console.console.debug | ( | msg | ) |
Console.
Definition at line 72 of file console.py.
def rocon_console.console.error | ( | msg | ) |
Definition at line 80 of file console.py.
def rocon_console.console.logdebug | ( | message | ) |
Definition at line 84 of file console.py.
def rocon_console.console.logerror | ( | message | ) |
Definition at line 96 of file console.py.
def rocon_console.console.logfatal | ( | message | ) |
Definition at line 100 of file console.py.
def rocon_console.console.loginfo | ( | message | ) |
Definition at line 88 of file console.py.
def rocon_console.console.logwarn | ( | message | ) |
Definition at line 92 of file console.py.
def rocon_console.console.pretty_print | ( | msg, | |
colour = white |
|||
) |
Definition at line 50 of file console.py.
def rocon_console.console.pretty_println | ( | msg, | |
colour = white |
|||
) |
Definition at line 58 of file console.py.
def rocon_console.console.warning | ( | msg | ) |
Definition at line 76 of file console.py.
string rocon_console::console::bold = "\x1b[%sm" |
Definition at line 34 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 43 of file console.py.
tuple rocon_console::console::has_colours = console_has_colours(sys.stdout) |
Definition at line 30 of file console.py.
string rocon_console::console::reset = "\x1b[0m" |
Definition at line 33 of file console.py.