refactor LOGx and CHECKx macros.
tool: do not use logger in walb_log.h.