fusion_addin_framework.utils.TextPaletteLoggingHandler¶
- class fusion_addin_framework.utils.TextPaletteLoggingHandler¶
Logging handler utilizing Fusions text command pallete.
Using this logging handler logging messages will be displayed in the text command palette in the Fusion GUI. The TextCommand palette needs to be accessed manually.
- emit(record)¶
Emit a record.
If a formatter is specified, it is used to format the record. The record is then written to the stream with a trailing newline. If exception information is present, it is formatted using traceback.print_exception and appended to the stream. If the stream has an ‘encoding’ attribute, it is used to determine how to do the output to the stream.
Methods
|
Emit a record. |
Attributes