Optional format for logging