Closed xtexChooser closed 1 year ago
Currently, we have to disable the bevy_log plugin with a lot of code
pub fn new_client_builder<S, Fut>() -> ClientBuilder<S, Fut> where S: Default + Send + Sync + Clone + Component + 'static, Fut: Future<Output = Result<(), anyhow::Error>> + Send + 'static, { ClientBuilder::new_without_plugins() .add_plugins(DefaultPlugins.build().disable::<bevy_log::LogPlugin>()) .add_plugins(DefaultBotPlugins) }
and bevy_log must be added as a direct dependency.
bevy_log
Is there a better way to disable it? For example, ClientBuilder::new_without_log()?
ClientBuilder::new_without_log()
Currently, we have to disable the bevy_log plugin with a lot of code
and
bevy_log
must be added as a direct dependency.Is there a better way to disable it? For example,
ClientBuilder::new_without_log()
?