rename log_define_impl to log_define_instance