I really doubt that it's a good idea to use Regex in logging performance-wise.