Skip to content

feat(core): expose init_logger publicly#3049

Open
jhult wants to merge 1 commit intorust-lang:masterfrom
jhult:feature/public-init-logger
Open

feat(core): expose init_logger publicly#3049
jhult wants to merge 1 commit intorust-lang:masterfrom
jhult:feature/public-init-logger

Conversation

@jhult
Copy link
Contributor

@jhult jhult commented Mar 9, 2026

Preprocessor authors can now call mdbook_core::utils::init_logger() to use mdBook's logger configuration (MDBOOK_LOG env var, INFO default, silenced noisy deps like handlebars/html5ever).

Closes #2049

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Mar 9, 2026
Preprocessor authors can now call `mdbook_core::utils::init_logger()` to use mdBook's logger configuration (`MDBOOK_LOG` env var, `INFO` default, silenced noisy deps like handlebars/html5ever).

Closes rust-lang#2049
@jhult jhult force-pushed the feature/public-init-logger branch from 969e645 to 67494da Compare March 9, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: waiting on a review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exposing init_logger to the public API for uniform logging across preprocessors

2 participants