cronologic-de / xhptdc8_babel

Wrappers, Utilities and Examples for using the xHPTDC8 with various programming languages.
Mozilla Public License 2.0
0 stars 1 forks source link

util_test application to test xhptdc8_apply_yaml #18

Closed Bassem-Ramzy closed 3 years ago

Bassem-Ramzy commented 3 years ago

We need to add the following features to the util_test application, and update the xhptdc8_util.dll whenever needed.

Validate YAML string format, and Display impact

A command line parameter to util_test to provide _xhptdc8_managerconfiguration YAML string , and util_test to display the parsing results and impact on the _xhptdc8_managerconfiguration. YAML string can be entered on-spot or can be passed from a file.

Debug verbose level / Logging

util DLL to provide a functionality to log output to file/stdout With levels of:

  1. Log Errors
  2. Log members of _xhptdc8_managerconfiguration affected by YAML string
  3. Log YAML string step-by-step parsing
Bassem-Ramzy commented 3 years ago

Validate YAML string format, and Display impact is done. Regarding to logging, a good logging library is found to be used https://github.com/gabime/spdlog, however, this task is of low priority right now, will come back to it later on.

Bassem-Ramzy commented 3 years ago

Closing the issue as Debug verbose level / Logging will be needed when util get bigger consequently