added stub simulation entry and logs
This commit is contained in:
9
BEdit/src/bedit/core/application_log.py
Normal file
9
BEdit/src/bedit/core/application_log.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import logging
|
||||
|
||||
|
||||
LOGGER_NAME = "bedit"
|
||||
|
||||
|
||||
def get_logger(name: str | None = None) -> logging.Logger:
|
||||
"""Return the shared application logger, optionally scoped to a module."""
|
||||
return logging.getLogger(LOGGER_NAME if name is None else f"{LOGGER_NAME}.{name}")
|
||||
Reference in New Issue
Block a user