Debugging
The binary _brille module can be set to emit status and timing
information which can be useful for debugging and fine-grained profiling
purposes.
Status output is controlled by emit() and timing output
is controlled by emit_datetime().
- brille._brille.emit(*args, **kwargs)
 Overloaded function.
emit() -> bool
Return the output status of the
brillestatus printer.- Returns:
 The value of the status printer STDOUT switch.
- Return type:
 bool
emit(brille::printer emit status: bool) -> bool
Modify the output status of the
brillestatus printer.- Parameters:
 emt (bool, optional) – Control whether status messages are printed to STDOUT
- Returns:
 The value of the status printer STDOUT switch.
- Return type:
 bool
- brille._brille.emit_datetime(*args, **kwargs)
 Overloaded function.
emit_datetime() -> bool
Return the timestamp output status of the
brillestatus printer.- Returns:
 The value of the status printer timestamp switch
- Return type:
 bool
emit_datetime(brille::printer emit datetime status: bool) -> bool
Modify the timestamp output status of the
brillestatus printer.- Parameters:
 emt (bool, optional) – Control whether a timestamp precedes every status message
- Returns:
 The value of the status printer timestamp switch
- Return type:
 bool