File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353
5454#### Module Standards
5555- All modules start with descriptive docstrings explaining purpose
56- - Use ` logger = logging.getLogger (__name__) ` pattern for module logging
56+ - Use ` logger = get_logger (__name__) ` from ` log.py ` for module logging
5757- Package ` __init__.py ` files contain brief package descriptions
5858- Central ` constants.py ` for shared constants with descriptive comments
5959- Type aliases defined at module level for clarity
8989 - Handle ` APIConnectionError ` from Llama Stack
9090
9191#### Logging Standards
92- - Use ` import logging ` and module logger pattern: ` logger = logging.getLogger (__name__) `
92+ - Use ` from log import get_logger ` and module logger pattern: ` logger = get_logger (__name__) `
9393- Standard log levels with clear purposes:
9494 - ` logger.debug() ` - Detailed diagnostic information
9595 - ` logger.info() ` - General information about program execution
You can’t perform that action at this time.
0 commit comments