cobble_core/instance/log_files.rs
1use crate::error::CobbleResult;
2use crate::minecraft::{load_log_files, LogFile};
3use crate::Instance;
4
5impl Instance {
6 /// Loads all log files from this instance.
7 #[cfg_attr(doc_cfg, doc(cfg(feature = "log-files")))]
8 pub async fn load_log_files(&self) -> CobbleResult<Vec<LogFile>> {
9 load_log_files(self.dot_minecraft_path()).await
10 }
11}