Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure loggers and log calls #236

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft

Restructure loggers and log calls #236

wants to merge 31 commits into from

Conversation

JTS22
Copy link
Contributor

@JTS22 JTS22 commented Jul 24, 2023

This PR improves upon the existing logging system in multiple ways:

  • Logs are grouped into different categories Simulation, Component and additional debugging logs (e.g. CIMReader,CSVReader)
  • Log levels can be configured for file and CLI output independently
  • The log levels for the existing log calls have been adapted to match the updated DPsim logging guidelines (https://dpsim.fein-aachen.org/docs/development/guidelines/#logging)

Closes #88

JTS22 added 22 commits July 24, 2023 13:55
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
@sonarcloud
Copy link

sonarcloud bot commented Jul 26, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 2 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 32 Code Smells

0.0% 0.0% Coverage
16.0% 16.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

Guideline on logging level choice
1 participant