support legacy macros

add new macros in log_logger.h