Title: Logger - Rspack
Open Graph Title: Logger - Rspack
Description: Logging output is an additional way to display messages to the end users. Rspack logger is available to loaders and plugins. Emitting as part of the Stats and configured by the user in rspack configuration. Benefits of custom logging API in Rspack: Common place to configure the logging display levelLogging output exportable as part of the stats.jsonStats presets affect logging outputPlugins can affect logging capturing and display levelWhen using multiple plugins and loaders they use a common logging solutionCLI, UI tools for Rspack may choose different ways to display loggingRspack core can emit logging output, e.g. timing data By introducing Rspack logging API we hope to unify the way Rspack plugins and loaders emit logs and allow better ways to inspect build problems. Integrated logging solution supports plugins and loaders developers by improving their development experience. Paves the way for non-CLI Rspack solutions like dashboards or other UIs. :::warning Avoid noise in the log Avoid noise in the log! Keep in mind that multiple plugins and loaders are used together. Loaders are usually processing multiple files and are invoked for every file. Choose a logging level as low as possible to keep the log output informative. :::
Open Graph Description: Fast Rust-based web bundler
Opengraph URL: https://rspack.rs
X: @rspack_dev
Generator: Rspress v2.0.0-rc.8
Domain: rspack.dev
| None | IE=edge |
| og:image | https://assets.rspack.rs/rspack/rspack-og-image.png |
| twitter:card | summary_large_image |
| baidu-site-verification | codeva-bE2dFTowhk |
| og:type | website |
Links:
Viewport: width=device-width, initial-scale=1