Skip to content

Add Unified Logging for PCM and DFD Analyses#127

Merged
sebinside merged 3 commits intomainfrom
logger
Mar 5, 2024
Merged

Add Unified Logging for PCM and DFD Analyses#127
sebinside merged 3 commits intomainfrom
logger

Conversation

@Entenwilli
Copy link
Member

@Entenwilli Entenwilli commented Feb 7, 2024

Important

This PR is dependent on #123 and thus needs to be merged afterwards

This PR adds unified logging for both analyses in this repo. The proposed logging format is:

Timestamp [Level] Classname - Message

An example would be:

12 [INFO] PCMConfidentialityAnalysis - Loaded model elements from files

This PR closes #126

@Entenwilli Entenwilli added enhancement New feature or request testing Related to testing and test cases or models core Related to the core DFD/PCM data flow analysis labels Feb 7, 2024
@Entenwilli Entenwilli added this to the 2.0.0 milestone Feb 7, 2024
@Entenwilli Entenwilli self-assigned this Feb 7, 2024
@sebinside
Copy link
Member

#123 has been merged, @Entenwilli please rebase this PR so we can also merge it

@Entenwilli
Copy link
Member Author

@sebinside This branch is now fully up-to-date

Copy link
Member

@sebinside sebinside left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to move the common code of the DFD analysis and the PCM analysis to the abstract parent class?

@Entenwilli
Copy link
Member Author

Entenwilli commented Mar 5, 2024

Yep, this is (now) implemented in 6f6e383 @sebinside

@Entenwilli Entenwilli requested a review from sebinside March 5, 2024 10:01
Copy link
Member

@sebinside sebinside left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGNTM

@sebinside sebinside merged commit 5ced5b1 into main Mar 5, 2024
@sebinside sebinside deleted the logger branch March 5, 2024 10:18
@sebinside sebinside removed the request for review from Nicolas-Boltz March 5, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Related to the core DFD/PCM data flow analysis enhancement New feature or request testing Related to testing and test cases or models

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify log output

2 participants