Guess it's bad style to have
log.Fatalf("Error message")
return logentry.AcceptNothingPredicate{} // actually never executed
all over the code. The decision to quit immediately should be made only at one place in code; until then, normal error handling (by return) should be used.