Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Logger/Results API #136

Open
szvsw opened this issue Jun 22, 2022 · 0 comments
Open

Feature Request: Logger/Results API #136

szvsw opened this issue Jun 22, 2022 · 0 comments

Comments

@szvsw
Copy link

szvsw commented Jun 22, 2022

As discussed on call, it would be great to either be able to:

  • Pass in an existing, configured logger which overwrites the PyUmi logger, and/or
  • Get some sort of summary statistics out from calls to the project builder functions (Apologies if this exists already I still need to inspect the UMI classes, just wanted to get this posted while it was fresh) - specifically things like BREPs added, names buildings ignored because they were invalid geometries or missing heights, etc

My use case is of course ubem.io, so the latter is actually probably more useful because it means we can handle the results and return summaries to the user without them needing to pore through the log file.

the ubem.io backend however does maintain a separate logger with a FileHandler for each user, so even the ability to just pass that logger in to PyUMI would be a great start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant