golang log format write to file