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
Hi! I would like to use slog in a browser in such a way, that I could output "compact" mode there using all the console goodies, like console.group (so I could collapse and expand logs): https://developer.mozilla.org/en-US/docs/Web/API/Console/group
I've been looking at the slog_term::TermDecorator but it seems we will rather not be able to reuse it here (or we will?).
Will such abilities be available in slog? :)
The text was updated successfully, but these errors were encountered:
Most of slog is very portable and agnostic of everything. So I would imagine all it takes to get slog_term to run in WASM or something like that is to give it something that implements io::Write and translates the writes into whatever you want to output to.
Hi! I would like to use slog in a browser in such a way, that I could output "compact" mode there using all the console goodies, like
console.group
(so I could collapse and expand logs): https://developer.mozilla.org/en-US/docs/Web/API/Console/groupI've been looking at the
slog_term::TermDecorator
but it seems we will rather not be able to reuse it here (or we will?).Will such abilities be available in slog? :)
The text was updated successfully, but these errors were encountered: