TextLogView
ā ļø This type is unstable and may change significantly in a way that the data won't be backwards compatible.
A view of a text log, for use with archetypes.TextLog.
Properties properties
columns columns
The columns to display in the view.
rows rows
Filter for rows to display in the view.
API reference links api-reference-links
Example example
Use a blueprint to show a TextLogView. use-a-blueprint-to-show-a-textlogview
"""Use a blueprint to show a text log."""
import rerun as rr
import rerun.blueprint as rrb
rr.init("rerun_example_text_log", spawn=True)
rr.set_time("time", sequence=0)
rr.log("log/status", rr.TextLog("Application started.", level=rr.TextLogLevel.INFO))
rr.set_time("time", sequence=5)
rr.log("log/other", rr.TextLog("A warning.", level=rr.TextLogLevel.WARN))
for i in range(10):
rr.set_time("time", sequence=i)
rr.log("log/status", rr.TextLog(f"Processing item {i}.", level=rr.TextLogLevel.INFO))
# Create a text view that displays all logs.
blueprint = rrb.Blueprint(rrb.TextLogView(origin="/log", name="Text Logs"), collapse_panels=True)
rr.send_blueprint(blueprint)
