Skip to content

Commit 2d237f3

Browse files
Merge pull request #351 from AI-Hypercomputer:ninatu/logging
PiperOrigin-RevId: 899629155
2 parents 46cae70 + bf2a842 commit 2d237f3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/maxdiffusion/max_logging.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616

1717
"""Stub for logging utilities. Right now just meant to avoid raw prints"""
1818

19+
import logging
20+
21+
logger = logging.getLogger(__name__)
22+
1923

2024
def log(user_str):
25+
logger.info(user_str)
2126
print(user_str, flush=True)

0 commit comments

Comments
 (0)