-
Notifications
You must be signed in to change notification settings - Fork 38
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
Redirecting status logging message outputs #402
Comments
In general this is an important concern: all of the current logging macros use the I agree all of the logging macros need to be revisited and updated to support |
A logging facility like tokio tracing would be optimal. |
@JRAndreassen Abscissa's logging subsystem has been based on However, the logging macros use |
@tony-iqlusion : |
Not sure if duplicate of #344
with tracing, one can implement a subscriber that will receive the log events -- e.g. instead of using standard output, one can use "console.log" in WASM: https://crates.io/crates/tracing-wasm
It'll be good if this is possible with
status_*!(..., ...)
logging macros too.Currently, the status messages seem to use the Terminal component and it seems external applications can't modify terminal streams: https://github.com/iqlusioninc/abscissa/blob/develop/core/src/terminal.rs#L14
The text was updated successfully, but these errors were encountered: