Compile a log format string to perl-code. For faster generation of access_log lines.