logError :: Monad m => (error -> m ()) -> Either error () -> m Bool
logError onInfo =
    logErrorOr onInfo return
logError :: Monad m => (error -> m ()) -> Either error () -> m Bool
logError onInfo =
    logErrorOr onInfo return
logError onInfo =
    logErrorOr onInfo return