NullLogger

A logger that implements the interface, but doesn’t ever print. Allows code to avoid a bunch of “if logger is not None” blocks

 

__init__(self, *log_files, **logger_opts): 

 

log_print(self, message, *params, print_options=None, padding=None, newline=None, **kwargs): 

 

__bool__(self): 

 

block(self, capture_output=False, **kwargs): 

Feedback

Examples

Templates

Documentation