func getJournalWriteSyncer() (zapcore.WriteSyncer, error) {
	jw, err := logutil.NewJournalWriter(os.Stderr)
	if err != nil {
		return nil, fmt.Errorf("can't find journal (%v)", err)
	}
	return zapcore.AddSync(jw), nil
}
func getJournalWriteSyncer() (zapcore.WriteSyncer, error) {
	jw, err := logutil.NewJournalWriter(os.Stderr)
	if err != nil {
		return nil, fmt.Errorf("can't find journal (%v)", err)
	}
	return zapcore.AddSync(jw), nil
}
func getJournalWriteSyncer ( ) ( zapcore . WriteSyncer , error ) { jw , err := logutil . NewJournalWriter ( os . Stderr ) if err != nil { return nil , fmt . Errorf ( " " , err ) } return zapcore . AddSync ( jw ) , nil }
// use stderr as fallback
use stderr as fallback