add log to formater.go