Functions | Variables
rspy.log Namespace Reference

Functions

def _stream_has_color (stream)
 
def d (args)
 
def debug_indent (n=1, indentation=' ')
 
def debug_on ()
 
def debug_unindent (n=1, indentation=' ')
 
def e (args)
 
def f (args)
 
def i (args)
 
def is_color_on ()
 
def is_debug_on ()
 
def is_verbose_on ()
 
def n_errors ()
 
def n_warnings ()
 
def out (args, sep=' ', end='\n')
 
def progress (args)
 
def quiet_on ()
 
def reset_errors ()
 
def reset_warnings ()
 
def v (args)
 
def verbose_on ()
 
def w (args)
 

Variables

string _debug_indent = ''
 
bool _debug_on = False
 
string _have_color = '--color'
 
int _n_errors = 0
 
int _n_warnings = 0
 
string _progress = ''
 
bool _verbose_on = False
 
string clear_eol = '\033[K'
 
string clear_eos = '\033[J'
 
string cr = '\033[G'
 
string gray = '\033[90m'
 
string red = '\033[91m'
 
string reset = '\033[0m'
 
string yellow = '\033[93m'
 

Function Documentation

def rspy.log._stream_has_color (   stream)
private

Definition at line 8 of file log.py.

def rspy.log.d (   args)

Definition at line 83 of file log.py.

def rspy.log.debug_indent (   n = 1,
  indentation = '    ' 
)

Definition at line 100 of file log.py.

def rspy.log.debug_on ( )

Definition at line 86 of file log.py.

def rspy.log.debug_unindent (   n = 1,
  indentation = '    ' 
)

Definition at line 103 of file log.py.

def rspy.log.e (   args)

Definition at line 119 of file log.py.

def rspy.log.f (   args)

Definition at line 112 of file log.py.

def rspy.log.i (   args)

Definition at line 108 of file log.py.

def rspy.log.is_color_on ( )

Definition at line 56 of file log.py.

def rspy.log.is_debug_on ( )

Definition at line 94 of file log.py.

def rspy.log.is_verbose_on ( )

Definition at line 76 of file log.py.

def rspy.log.n_errors ( )

Definition at line 125 of file log.py.

def rspy.log.n_warnings ( )

Definition at line 142 of file log.py.

def rspy.log.out (   args,
  sep = ' ',
  end = '\n' 
)

Definition at line 35 of file log.py.

def rspy.log.progress (   args)

Definition at line 43 of file log.py.

def rspy.log.quiet_on ( )

Definition at line 61 of file log.py.

def rspy.log.reset_errors ( )

Definition at line 129 of file log.py.

def rspy.log.reset_warnings ( )

Definition at line 146 of file log.py.

def rspy.log.v (   args)

Definition at line 68 of file log.py.

def rspy.log.verbose_on ( )

Definition at line 70 of file log.py.

def rspy.log.w (   args)

Definition at line 136 of file log.py.

Variable Documentation

string rspy.log._debug_indent = ''
private

Definition at line 82 of file log.py.

bool rspy.log._debug_on = False
private

Definition at line 81 of file log.py.

rspy.log._have_color = '--color'
private

Definition at line 21 of file log.py.

int rspy.log._n_errors = 0
private

Definition at line 118 of file log.py.

int rspy.log._n_warnings = 0
private

Definition at line 135 of file log.py.

string rspy.log._progress = ''
private

Definition at line 34 of file log.py.

bool rspy.log._verbose_on = False
private

Definition at line 67 of file log.py.

string rspy.log.clear_eol = '\033[K'

Definition at line 33 of file log.py.

string rspy.log.clear_eos = '\033[J'

Definition at line 32 of file log.py.

string rspy.log.cr = '\033[G'

Definition at line 31 of file log.py.

string rspy.log.gray = '\033[90m'

Definition at line 29 of file log.py.

string rspy.log.red = '\033[91m'

Definition at line 27 of file log.py.

string rspy.log.reset = '\033[0m'

Definition at line 30 of file log.py.

string rspy.log.yellow = '\033[93m'

Definition at line 28 of file log.py.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43