implement log macros log_define_impl and log_..._to