func (s *FileSurfacer) Write(ctx context.Context, em *metrics.EventMetrics) {
	select {
	case s.writeChan <- em:
	default:
		s.l.Warningf("FileSurfacer's write channel is full, dropping new data.")
	}
}
// Write takes the data to be written to file (usually set as a GCE instance's
// serial port). This channel is watched by a goroutine that actually writes
// data to a file.
Write takes the data to be written to file (usually set as a GCE instance's
serial port). This channel is watched by a goroutine that actually writes
data to a file.
// Write takes the data to be written to file ( usually set as a GCE instance ' s // serial port ) . This channel is watched by a goroutine that actually writes // data to a file .
func (s *FileSurfacer) Write(ctx context.Context, em *metrics.EventMetrics) {
	select {
	case s.writeChan <- em:
	default:
		s.l.Warningf("FileSurfacer's write channel is full, dropping new data.")
	}
}
func ( s * FileSurfacer ) Write ( ctx context . Context , em * metrics . EventMetrics ) { select { case s . writeChan <- em : default : s . l . Warningf ( " " ) } }
Write takes the data to be written to file (usually set as a GCE instance's
serial port).
Write takes the data to be written to file ( usually set as a GCE instance ' s serial port ) .