provide method which outputs error during initialization
BHI implemented this to ensure that DB_Connector is connected, because configure (and connect) are no wait for replies.
In general, the caller of DB_CONNECTOR needs to register for the events anyhow, because also errors later on should be handled by the caller. There might be situations where this doesn't happen, or it happens too late, like the startup in the log rotate handler. Therefore we want to
-
provide public wrapper function, which can be used by callers to start a DB_Connector which outputs error during initialization -
use it for generating the log db handler: https://code.hampel-soft.com/commercial/hse-logger-db-handler/-/issues/10
Edited by Alexander Elbert