Lines Matching refs:e
105 func (e *errorLog) StartAction(action *Action, counts Counts) {}
107 func (e *errorLog) FinishAction(result ActionResult, counts Counts) {
112 if !e.empty {
113 fmt.Fprintf(e.w, "\n\n")
115 e.empty = false
117 fmt.Fprintf(e.w, "FAILED: %s\n", result.Description)
120 fmt.Fprintf(e.w, "Outputs: %s\n", strings.Join(result.Outputs, " "))
123 fmt.Fprintf(e.w, "Error: %s\n", result.Error)
125 fmt.Fprintf(e.w, "Command: %s\n", result.Command)
127 fmt.Fprintf(e.w, "Output:\n%s\n", result.Output)
130 func (e *errorLog) Flush() {
131 e.w.Close()
134 func (e *errorLog) Message(level MsgLevel, message string) {
139 if !e.empty {
140 fmt.Fprintf(e.w, "\n\n")
142 e.empty = false
144 fmt.Fprintf(e.w, "error: %s\n", message)
147 func (e *errorLog) Write(p []byte) (int, error) {
148 fmt.Fprint(e.w, string(p))
167 func (e *errorProtoLog) StartAction(action *Action, counts Counts) {}
169 func (e *errorProtoLog) FinishAction(result ActionResult, counts Counts) {
174 …e.errorProto.ActionErrors = append(e.errorProto.ActionErrors, &soong_build_error_proto.BuildAction…
182 err := writeToFile(&e.errorProto, e.filename)
184 e.log.Printf("Failed to write file %s: %v\n", e.filename, err)
188 func (e *errorProtoLog) Flush() {
192 func (e *errorProtoLog) Message(level MsgLevel, message string) {
194 e.errorProto.ErrorMessages = append(e.errorProto.ErrorMessages, message)
198 func (e *errorProtoLog) Write(p []byte) (int, error) {