38 releases (16 breaking)
0.18.0 | Sep 7, 2024 |
---|---|
0.16.0 | Aug 19, 2024 |
0.15.0 | Jul 26, 2024 |
0.11.0 | Feb 25, 2024 |
0.1.0 | Sep 21, 2022 |
#110 in Command-line interface
2,396 downloads per month
Used in 71 crates
(36 directly)
33KB
697 lines
workflow-log
Part of the workflow-rs
application framework.
Application logging functionality
Features
- Log output functions that functions uniformly on supported platforms.
- Native uses
stdout
- WASM (browser) uses
console.log()
and similar functions. - Solana OS (BPF) uses
solana_program::log::sol_log()
(same as msg!() macro
)
- Native uses
- Attach to the standard log crate.
- Register a custom log sink to consume all application output externally.
- Re-export and a custom bypass for console crate, allowing to use ANSI terminal features while discarding them when running under BPF.
This crate offers the following macros:
log_trace!()
log_debug!()
log_info!()
log_warn!()
log_error!()
Dependencies
~0–7.5MB
~46K SLoC