Logging Module#
SPDX-FileCopyrightText: 2025 DESY and the Constellation authors SPDX-License-Identifier: EUPL-1.2
This module provides a base class for Constellation Satellite modules.
- class core.logging.ConstellationLogger(*args: Any, **kwargs: Any)#
Bases:
Logger
Custom Logger class for Constellation.
- class core.logging.ConstellationRichHandler(level: int | str = 0, console: Console | None = None, *, show_time: bool = True, omit_repeated_times: bool = True, show_level: bool = True, show_path: bool = True, enable_link_path: bool = True, highlighter: Highlighter | None = None, markup: bool = False, rich_tracebacks: bool = False, tracebacks_width: int | None = None, tracebacks_code_width: int | None = 88, tracebacks_extra_lines: int = 3, tracebacks_theme: str | None = None, tracebacks_word_wrap: bool = True, tracebacks_show_locals: bool = False, tracebacks_suppress: Iterable[str | ModuleType] = (), tracebacks_max_frames: int = 100, locals_max_length: int = 10, locals_max_string: int = 80, log_time_format: str | Callable[[datetime], Text] = '[%x %X]', keywords: List[str] | None = None)#
Bases:
RichHandler
- class core.logging.ZeroMQSocketLogHandler(transmitter: CMDPPublisher)#
Bases:
Handler
This handler sends records to a ZMQ socket.