-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In libcosim(py) the log level can be set using e.g. log_output_level( CosimLogLevel.ERROR). When the level is set to CosimLogLevel.FATAL, nothing is reported any more (in my model I added a logStatusFatal message, but that and all lesser level messages are not reported).
The other log levels are reported, but there are three confusing issues:
- the log levels do not directly correspond to the suggested FMI2 log levels (which are only suggestions)
- FMI2 log levels 'warning' and 'discard' seem to be switched: CosimLogLevel.INFO leaves out discard, but includes warning, even if discard should be a higher level message according to FMI2
- There dies not seem to be a difference between CosimLogLevel.INFO and CosimLogLevel.WARNING (same logStatus* reported)
Can these be better aligned with FMI2 suggested log levels?
Metadata
Metadata
Assignees
Labels
No labels