Skip to content

Commit

Permalink
change function to constant
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Carow <40699307+kylecarow@users.noreply.github.com>
  • Loading branch information
calbaker and kylecarow committed May 15, 2024
1 parent 20b1474 commit 6d7cec2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions python/fastsim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@ def package_root() -> Path:
return Path(__file__).parent


def default_logging_config() -> Dict[str, str]:
return dict(
format = "%(asctime)s.%(msecs)03d | %(filename)s:%(lineno)s | %(levelname)s: %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
)
DEFAULT_LOGGING_CONFIG = dict(
format = "%(asctime)s.%(msecs)03d | %(filename)s:%(lineno)s | %(levelname)s: %(message)s",
datefmt = "%Y-%m-%d %H:%M:%S",
)



# Set up logging
logging.basicConfig(**default_logging_config())
logging.basicConfig(**DEFAULT_LOGGING_CONFIG)
logger = logging.getLogger(__name__)

from pkg_resources import get_distribution
Expand Down

0 comments on commit 6d7cec2

Please sign in to comment.