dmesg wrapper that extracts time