Skip to content

API Reference (Auto-Generated)

Complete API reference generated from source code docstrings using mkdocstrings.

Classes

Class Description
Ezpl Thread-safe singleton — the single entry point for logging
EzPrinter Rich-based console output with pattern formatting
EzLogger loguru-based file logging with rotation support
RichWizard Advanced Rich display: panels, tables, JSON, progress bars
ConfigurationManager Configuration from args, env vars, file, and defaults

Types and Exceptions

Page Description
Types and Enums LogLevel, Pattern, PATTERN_COLORS, PrinterProtocol, LoggerProtocol, type aliases
Exceptions Full exception hierarchy rooted at EzplError

Lib Mode Functions

For library authors — passive proxies that stay silent until the host application initializes Ezpl:

from ezplog.lib_mode import get_logger, get_printer
# or equivalently:
from ezplog import get_logger, get_printer

log = get_logger(__name__)   # stdlib Logger with NullHandler
printer = get_printer()      # _LazyPrinter proxy

See App Mode vs Lib Mode for the full explanation.