Added logging utility using flag LOG_ENABLED depending on Poco logging library