func IsValidOutputLocation()

in spectator/writer/writer.go [76:86]


func IsValidOutputLocation(output string) bool {
	return output == "none" ||
		output == "memory" ||
		output == "stdout" ||
		output == "stderr" ||
		output == "udp" ||
		output == "unix" ||
		strings.HasPrefix(output, "file://") ||
		strings.HasPrefix(output, "udp://") ||
		strings.HasPrefix(output, "unix://")
}