Trait bp3d_logger::GetLogs

source ·
pub trait GetLogs {
    // Required method
    fn get_logs(self) -> Option<PathBuf>;
}
Expand description

Trait to allow getting a log directory from either a bp3d_os::dirs::App or a String.

Required Methods§

source

fn get_logs(self) -> Option<PathBuf>

Gets the log directory as a PathBuf.

Returns None if no directory could be computed.

Implementations on Foreign Types§

source§

impl<'a> GetLogs for &'a str

source§

impl<'a> GetLogs for &'a String

source§

impl<'a, 'b> GetLogs for &'a App<'b>

Implementors§