Skip to content

Commit

Permalink
feat: Added padding to logged settings
Browse files Browse the repository at this point in the history
  • Loading branch information
santiagosalamandri committed Sep 30, 2022
1 parent 8359deb commit 924cdee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions iso15118/evcc/evcc_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def load_envs(self, env_path: Optional[str] = None) -> None:

logger.info("EVCC settings:")
for key, value in shared_settings.items():
logger.info(f"{key}:\t{value}")
logger.info(f"{key:25}: {value}")
for key, value in env.dump().items():
logger.info(f"{key}:\t{value}")
logger.info(f"{key:25}: {value}")
env.seal() # raise all errors at once, if any


Expand Down
4 changes: 2 additions & 2 deletions iso15118/secc/secc_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def load_envs(self, env_path: Optional[str] = None) -> None:

logger.info("SECC settings:")
for key, value in shared_settings.items():
logger.info(f"{key}:\t{value}")
logger.info(f"{key:25}: {value}")
for key, value in env.dump().items():
logger.info(f"{key}:\t{value}")
logger.info(f"{key:25}: {value}")
env.seal() # raise all errors at once, if any

def load_requested_protocols(self, read_protocols: Optional[List[str]]):
Expand Down

0 comments on commit 924cdee

Please sign in to comment.