You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enhancement ➕New feature or requestew 🤮That shouldn't be that way and needs cleanupruntimeRelating to the IREE runtime libraryruntime/apiIREE's public C runtime API and iree-run-module
iree/base/logging.h should be rebased onto a C API as was done with status in #265. Ideally we'd allow for scoped sinks such that contexts could have unique sinks that allowed hosting applications to filter logs, but to start a simple API that properly handled statuses would be fine.
Idea is to have nested logging scopes - such as per instance, per context, and per invocation, per-compilation artifact, etc - that can be used for autocollapsing behavior. Normal debug group stuff. Only here we'd also allow a few optional flags for things like spinners, success/failure/etc states (to use as static icons), etc.
No more wondering if the compiler is still going, or the model is running, and when we have a lot more inputs for LTO-style linking and a lot more models (multiple running, etc) it'd useful to monitor them.
Probably not going to build anything new here after it's deleted in #9605. As a library we try not to have any log spew, tests can use gtest logging, and the tools are almost all LLVM-based and use the logging functionality already available in that world.
It's still be nice to have something for interactive tools to use (cool progress spinners and colors), but that's a very different type of problem than generalized low-level library logging sinks.
enhancement ➕New feature or requestew 🤮That shouldn't be that way and needs cleanupruntimeRelating to the IREE runtime libraryruntime/apiIREE's public C runtime API and iree-run-module
Activity
benvanik commentedon Nov 16, 2020
Definitely going to be part of it: https://stackoverflow.com/a/12305221
Idea is to have nested logging scopes - such as per instance, per context, and per invocation, per-compilation artifact, etc - that can be used for autocollapsing behavior. Normal debug group stuff. Only here we'd also allow a few optional flags for things like spinners, success/failure/etc states (to use as static icons), etc.
No more wondering if the compiler is still going, or the model is running, and when we have a lot more inputs for LTO-style linking and a lot more models (multiple running, etc) it'd useful to monitor them.
Replacing assert() with IREE_ASSERT.
Exposing IREE_ASSERT as part of the public API.
Exposing IREE_ASSERT as part of the public API.
1 remaining item
Exposing IREE_ASSERT as part of the public API.
Exposing IREE_ASSERT as part of the public API. (#5577)
benvanik commentedon Oct 16, 2021
https://github.com/esneider/debug/blob/master/debug.h <- highly interesting; like fmt but in C using _Generic - would let us do things like
LOG_MUMBLE("hello", world, ": ", 5);Removing iree/base/logging.h.
benvanik commentedon Jun 23, 2022
Probably not going to build anything new here after it's deleted in #9605. As a library we try not to have any log spew, tests can use gtest logging, and the tools are almost all LLVM-based and use the logging functionality already available in that world.
It's still be nice to have something for interactive tools to use (cool progress spinners and colors), but that's a very different type of problem than generalized low-level library logging sinks.
Removing iree/base/logging.h.
Removing iree/base/logging.h.
Removing iree/base/logging.h. (#9605)