func jsonToRawLog(line string) (string, error) {
	var log jsonLog
	if err := json.Unmarshal([]byte(line), &log); err != nil {
		return line, err
	}
	return log.Output, nil
}
// jsonToRawLog converts a single line of json formatted log to raw log.
// If there is an error, it returns the original input.
jsonToRawLog converts a single line of json formatted log to raw log.
If there is an error, it returns the original input.
// jsonToRawLog converts a single line of json formatted log to raw log . // If there is an error it returns the original input .
func jsonToRawLog(line string) (string, error) {
	var log jsonLog
	if err := json.Unmarshal([]byte(line), &log); err != nil {
		return line, err
	}
	return log.Output, nil
}
func jsonToRawLog ( line string ) ( string , error ) { var log jsonLog if err := json . Unmarshal ( [ ] byte ( line ) , & log ) ; err != nil { return line , err } return log . Output , nil }
jsonToRawLog converts a single line of json formatted log to raw log.
jsonToRawLog converts a single line of json formatted log to raw log .