Upgraded log_hd to utilize macro'd file/function/line support.