Skip to content

Commit

Permalink
add internal logger
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuki committed Sep 19, 2024
1 parent bbd878d commit aa5b96a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Empty file.
9 changes: 9 additions & 0 deletions experiments/internal_logger/logger.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import logging

logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
st_handler = logging.StreamHandler()
logger.addHandler(st_handler)

def get_logger() -> logging.Logger:
return logger

0 comments on commit aa5b96a

Please sign in to comment.