Define CHECK_GERROR

Define Documentation

CHECK_GERROR(err, logger)

Macro to check if error occurred and log if necessary.