Rtos API example

Embed: (wiki syntax)

« Back to documentation index

CLITestLogger Class Reference

CLITestLogger Class Reference

Inherits tools::test_api::TestLogger.

Public Member Functions

def log_print
def log_line

Detailed Description

Logger used with CLI (Command line interface) test suite. Logs on screen and to file if needed

Definition at line 1575 of file test_api.py.


Member Function Documentation

def log_line (   self,
  LogType,
  log_line,
  timestamp = True,
  line_delim = '\n' 
)
Logs line, if log file output was specified log line will be appended
    at the end of log file

Reimplemented from TestLogger.

Definition at line 1592 of file test_api.py.

def log_print (   self,
  log_entry,
  timestamp = True 
)
Prints on screen formatted log entry

Definition at line 1584 of file test_api.py.