Functions | Variables
rocon_console::console Namespace Reference

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"

Function Documentation

Methods.

Definition at line 17 of file console.py.

Console.

Definition at line 72 of file console.py.

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.

Definition at line 76 of file console.py.


Variable Documentation

string rocon_console::console::bold = "\x1b[%sm"

Definition at line 34 of file console.py.

Initial value:
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.

Definition at line 30 of file console.py.

string rocon_console::console::reset = "\x1b[0m"

Definition at line 33 of file console.py.



rocon_console
Author(s): Daniel Stonier
autogenerated on Fri May 2 2014 10:35:38