OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
* The use of a `StringStreamSinkLogSink`, for eg for EnergyPlus ForwardTranslator and then **regex parsing** that to derive logMessages is an abomination that should be eliminated.
Detailed Description
Regex parsing is slow, and expensive.
It also poses an extensibility/customization issue: If changing the formatter (the format of the log messages), the parseLogText gets thrown out the window.
Possible Implementation
The use of a pattern similar to the one I used in XMLValidator is a possibility
Write our end backend sink and override consume to emplace LogMessages is probably the sanest option
Enhancement Request
Eliminate the use of StringStreamLogSink
Detailed Description
Regex parsing is slow, and expensive.
It also poses an extensibility/customization issue: If changing the formatter (the format of the log messages), the parseLogText gets thrown out the window.
Possible Implementation
Other issues
Context
List of references: