There are currently 4 different ways (comments, custom closes, deferrals, everything else) that the log output is being formatted depending on the type of entry. Personally I think that this is better off being done in PHP (for now at least) instead of adding more logic to the Smarty template.