scistag.vislog.sub_log.SubLog

class SubLog(logs, target, max_fig_size, log_limit=-1)[source]

Bases: object

Defines a single entry on the log target stag

Methods

Attributes

__annotations__

__dataclass_fields__

__dataclass_params__

__dict__

__doc__

__hash__

__module__

__weakref__

list of weak references to the object (if defined)

log_limit

The maximum count of log entries in this sub log

logs

The log dictionaries for all targets

target

The target's name

max_fig_size

The preview size of figures and images in pixels

log_limit: int = -1

The maximum count of log entries in this sub log

logs: dict

The log dictionaries for all targets

max_fig_size: tuple[int, int]

The preview size of figures and images in pixels

target: str

The target’s name