Log

class foxglove.layouts.LogPanel

Display logs by node and severity level.

For more information, see the documentation.

Example
import foxglove.layouts as fl

layout = fl.Layout(
    content=fl.LogPanel(
        config=fl.LogConfig(
            topic_to_render="/rosout",
            min_log_level=1,
        ),
    ),
)
config: LogConfig
title: str | None = None

The title of the panel.

class foxglove.layouts.LogConfig

Configuration for the Log panel.

font_size: float | None = None

Font size for text display

min_log_level: float | None = None

Minimum severity of messages to display – always enforced, even if the node name is selected or the message text matches the search filter

name_filter: dict[str, LogNamespaceSettings] | None = None

Settings for each namespace, indexed by name

preload: bool | None = None

Preload mode is deprecated. Messages around the current seek time are always loaded for recorded sources.

search_terms: list[str] | None = None

Search terms to filter log messages

show_date: bool | None = None

Show the date as part of the timestamp

show_level: bool | None = None

Show the severity level for each log message

show_name: bool | None = None

Show the node name for each log message

show_source_location: bool | None = None

Show the source file and line number for each log message, when available

show_time: bool | None = None

Show the timestamp for each log message

show_timezone: bool | None = None

Show the timezone as part of the timestamp

topic_to_render: str | None = None

Topic to display log messages from

class foxglove.layouts.LogNamespaceSettings

Settings for a namespace in the Log panel.

visible: bool | None = None