1
2
3
4
5
6
7
8
9
use crate::minecraft::logs::{load_log_files, LogFile};
use crate::{CobbleResult, Instance};

impl Instance {
    /// Loads all log files from this instance.
    pub fn load_log_files(&self) -> CobbleResult<Vec<LogFile>> {
        load_log_files(self.dot_minecraft_path())
    }
}