Log Utility
Logging utilities for ReaxKit.
This module provides a small helper for creating consistently formatted loggers across ReaxKit modules, ensuring uniform log messages in both CLI workflows and programmatic use.
get_logger(name)
Create or retrieve a consistently formatted logger.
The returned logger uses a standard ReaxKit format and avoids attaching duplicate handlers when called multiple times with the same name.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Name of the logger, typically |
required |
Returns:
| Type | Description |
|---|---|
Logger
|
Configured logger instance. |
Examples:
>>> logger = get_logger(__name__)
>>> logger.info("Parsing started")