Closed lubomir-benus closed 6 months ago
Thank you for posting this issue. It is being reviewed internally.
The EMA C# configuration guide document will be updated the EMA configure to synchronize these values defined in the LoggerLevelEnum class as below.
• LoggerSeverity::Verbose (0) • LoggerSeverity::Success (2) • LoggerSeverity::Warning (3) • LoggerSeverity::Error (4) • LoggerSeverity::NoLogMsg (5)
Hi soranat,
is it correct? Because C++ implementation has it like this (it looks more reasonable):
Possible values are: • LoggerSeverity::Verbose (0) • LoggerSeverity::Success (1) • LoggerSeverity::Warning (2) • LoggerSeverity::Error (3) • LoggerSeverity::NoLogMsg (4)
Yes, this is correct as C# defines its own numeric severity values.
These numeric values are used for the programmatic configuration only such as in the Cons421 example while the EmaConfig.xml uses the string values such as below.
RTSDK 2.2.0.L1 addresses this issue by updating the EMA C# configuration guide. Please let us know if you have further concerns. Closing.
Hi guys,
Looks like the definitions are not in sync (based on today 2023-12-28)
This is from EMACSharp_ConfigGuide.pdf
Possible values are: • LoggerSeverity::Verbose (0) • LoggerSeverity::Success (1) • LoggerSeverity::Warning (2) • LoggerSeverity::Error (3) • LoggerSeverity::NoLogMsg (4)
This is from EmaConfig class