Define CHECK_GERROR_MSG

Define Documentation

CHECK_GERROR_MSG(err, logger, custom_msg)

Macro to check if error occurred and log if necessary with costom message.