package
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: May 3, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
internal/logger
Responsibility
- Provides a centralized logging facility for the application.
- Uses
zerodha/logf for structured logging.
- Configures logging level and output format.
Scope
- Logger initialization and configuration.
- Logging functions for different levels (e.g., Info, Debug, Error).
Test Suite Overview
- Tests should cover logging output and level configuration.
Decisions & Potential Gotchas
- Uses
zerodha/logf for structured logging.
- Logging level is configurable via the configuration file.
- Output format can be customized.
Documentation
¶
GetLogger returns the singleton instance of the logger.
Reset is for testing so that we can reset the logger singleton
Source Files
¶
Click to show internal directories.
Click to hide internal directories.