13 lines
468 B
Python
13 lines
468 B
Python
import logging
|
|||
|
|
|
||
|
|
|
||
|
|
def configure_logging(service_name: str) -> logging.Logger:
|
||
|
|
"""Plain-text, human-prose logging -- the deliberately weak Phase 0
|
||
|
|
baseline. Per phase-0-base-project-spec.md §9: no JSON, no key-value, no
|
||
|
|
structured fields. Do not "improve" this; later phases replace it."""
|
||
|
|
logging.basicConfig(
|
||
|
|
level=logging.INFO,
|
||
|
|
format="%(asctime)s %(levelname)s %(name)s %(message)s",
|
||
|
|
)
|
||
|
|
return logging.getLogger(service_name)
|