Skip to content

Commit 6d09395

Browse files
committed
Type hint for LogClass.get_logger
1 parent c3a611e commit 6d09395

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Metallicity_Stack_Commons/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class LogClass:
3030
def __init__(self, log_dir: str, logfile: str):
3131
self.LOG_FILENAME = join(log_dir, logfile)
3232

33-
def get_logger(self):
33+
def get_logger(self) -> logging.Logger:
3434
file_log_level = logging.DEBUG # This is for file logging
3535
log = logging.getLogger("main_logger")
3636
if not log.handlers:

0 commit comments

Comments
 (0)