cookiecutter-python-app icon indicating copy to clipboard operation
cookiecutter-python-app copied to clipboard

Fix config.toml property for logging always being overwritten by argparse default

Open ahester57 opened this issue 1 year ago • 0 comments

Enable default WARN log level while adding support for property-less config file.

  • Remove default from argparse --warn.
  • Add NoneGuard to logger.start().
    • Enables default behaviour when given level=None.
  • Utilize dict.get() when accessing config.toml's "logging" property.
    • Increases flexibility of property file.
    • No longer required to have logging as a property.

ahester57 avatar Feb 25 '24 07:02 ahester57