Compile LogFormat to perl-code