Added logging, added quiet flag
This commit is contained in:
parent
db406adfdc
commit
3fde0f4f08
9 changed files with 84 additions and 19 deletions
atlasimagecomposer/config
|
@ -1 +1 @@
|
|||
from .config import AtlasDefaults, ExpressionDefaults, Paths
|
||||
from .config import AtlasDefaults, ExpressionDefaults, Logging, Paths
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
# pylint: disable=too-few-public-methods
|
||||
import os
|
||||
import pathlib
|
||||
|
||||
class Logging:
|
||||
_level = os.environ.get("AIC_STDOUT_LEVEL", "info")
|
||||
LEVEL = int(_level) if _level.isdigit() else _level.upper()
|
||||
NAME = "atlasimagecomposer"
|
||||
|
||||
class Paths:
|
||||
_root = pathlib.Path(__file__).parents[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue