Coverage for / home / runner / work / bijux-cli / bijux-cli / src / bijux_cli / services / logging / contracts.py: 100%
9 statements
« prev ^ index » next coverage.py v7.13.2, created at 2026-01-26 17:59 +0000
« prev ^ index » next coverage.py v7.13.2, created at 2026-01-26 17:59 +0000
1# SPDX-License-Identifier: Apache-2.0
2# Copyright © 2025 Bijan Mousavi
4"""Service-level contracts for logging configuration."""
6from __future__ import annotations
8from dataclasses import dataclass
10from bijux_cli.core.enums import ColorMode, LogLevel
13@dataclass(frozen=True)
14class LoggingConfig:
15 """Configuration for logging and console output behavior."""
17 quiet: bool
18 log_level: LogLevel
19 color: ColorMode
22__all__ = ["LoggingConfig"]