Skip to content

Commit 24be3cc

Browse files
committed
adds doc string and typing
1 parent 16a13a0 commit 24be3cc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/foraging_gui/Foraging.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,12 @@ def __init__(self, parent=None, box_number=1, start_bonsai_ide=True):
370370
self._ReconnectBonsai()
371371
logging.info("Start up complete")
372372

373-
def setup_lifecycle_logger(self):
373+
def setup_lifecycle_logger(self) -> logging.Logger:
374374

375+
"""
376+
Creates logger for start, stop, and failure events with formatter adhering to aind log standards.
377+
"""
378+
375379
# Ensure the directory exists
376380
os.makedirs(Path(self.Settings["lifecycle_log_dir"]), exist_ok=True)
377381

0 commit comments

Comments
 (0)