Skip to content

Commit c5aed53

Browse files
committed
docs: update CLAUDE.md logging pattern to use get_logger()
Signed-off-by: Major Hayden <major@redhat.com>
1 parent 3abc393 commit c5aed53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ src/
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
@@ -89,7 +89,7 @@ src/
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

0 commit comments

Comments
 (0)