Coverage for src/ezplog/types/__init__.py: 100.00%
5 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-10-16 19:04 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-10-16 19:04 +0000
1# ///////////////////////////////////////////////////////////////
2# EZPL - Types Module
3# Project: ezpl
4# ///////////////////////////////////////////////////////////////
6"""
7Types module for Ezpl logging framework.
9This module contains type definitions, enumerations, and protocols.
10"""
12from __future__ import annotations
14# ///////////////////////////////////////////////////////////////
15# IMPORTS
16# ///////////////////////////////////////////////////////////////
17# Local imports
18from .aliases import (
19 SUPPORTED_COMPRESSIONS,
20 CompressionSpec,
21 RetentionSpec,
22 RotationSpec,
23)
24from .enums import (
25 PATTERN_COLORS,
26 LogLevel,
27 Pattern,
28 get_pattern_color,
29 get_pattern_color_by_name,
30)
31from .protocols import LoggerProtocol, PrinterProtocol
33# ///////////////////////////////////////////////////////////////
34# PUBLIC API
35# ///////////////////////////////////////////////////////////////
37__all__ = [
38 # Log level exports
39 "LogLevel",
40 # Pattern exports
41 "Pattern",
42 "PATTERN_COLORS",
43 "get_pattern_color",
44 "get_pattern_color_by_name",
45 # Type alias exports
46 "RotationSpec",
47 "RetentionSpec",
48 "CompressionSpec",
49 "SUPPORTED_COMPRESSIONS",
50 # Protocol exports
51 "PrinterProtocol",
52 "LoggerProtocol",
53]