Package tlib :: Package base :: Module LogHelper |
[hide private]
[frames] | no frames]

# Module LogHelper

source code

Functions | [hide private]
get_tlib_logger(request) Returns logger named tlib. | source code
get_adb_logger(request) Returns logger named adb. | source code
get_test_logger(request) Returns logger named test. | source code
get_logger(request, logger) Returns a logger that has a console and a file handler. | source code

Variables | [hide private]
| __package__ = ``'``tlib.base``'``

Function Details | [hide private]

### get_tlib_logger(request) | source code
Returns logger named tlib. This logger should only be used by TLib modules. To log from a test or test module use get_test_logger Logger will get flushed at the end to ensure data is not lost if tests exits abnormally

### get_adb_logger(request) | source code
Returns logger named adb. This logger should only be used by adb modules. To log from a test or test module use get_test_logger Logger will get flushed at the end to ensure data is not lost if tests exits abnormally

### get_test_logger(request) | source code
Returns logger named test. This logger should only be used by test modules. To log from a test or test module use get_test_logger Logger will get flushed at the end to ensure data is not lost if tests exits abnormally

### get_logger(request, logger) | source code
Returns a logger that has a console and a file handler. Parameters: `logger` (str) - Logger name to return