Skip to content

Commit

Permalink
Make try_init pub(crate)
Browse files Browse the repository at this point in the history
  • Loading branch information
wks committed Nov 5, 2024
1 parent 7fe1407 commit 17e6441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub(crate) enum LoggerError {

/// Attempt to init a env_logger for MMTk.
/// Does nothing if the "builtin_env_logger" feature is disabled.
pub fn try_init() -> Result<(), LoggerError> {
pub(crate) fn try_init() -> Result<(), LoggerError> {
cfg_if::cfg_if! {
if #[cfg(feature = "builtin_env_logger")] {
env_logger::try_init_from_env(
Expand Down

0 comments on commit 17e6441

Please sign in to comment.