in example/main.go [93:101]
func logEvent(event fsevents.Event) {
note := ""
for bit, description := range noteDescription {
if event.Flags&bit == bit {
note += description + " "
}
}
log.Printf("EventID: %d Path: %s Flags: %s", event.ID, event.Path, note)
}