Hi,
disabling logging by undefining ULOG_ENABLED breaks compilation due to the replacement of functions with empty do loops.

Also, checking returned values may be a problem with empty loops:
ULOG_INIT();
ulogErr = ULOG_SUBSCRIBE(console_logger, ULOG_TRACE_LEVEL);
assert(ulogErr == ULOG_ERR_NONE);