scistag.vislog.visual_table_logger.VisualLogTableContext¶
- class VisualLogTableContext(builder)[source]¶
Bases:
VisualLogElementContextAutomatically adds the beginning and ending of a table to the log
- Parameters
builder (
VisualLogBuilder) – The builder object with which we write to the log
Methods
Adds a new row context to the table.
Can be called to explicitly finish the current element
Attributes
__dict____doc____module____weakref__list of weak references to the object (if defined)
- add_row(content=None)[source]¶
Adds a new row context to the table.
- Return type
Union[‘VisualLogRowContext’, None]
- Returns
The row context object
- close()¶
Can be called to explicitly finish the current element