Struct amethyst_config::LoggingConfig
[−]
[src]
pub struct LoggingConfig { pub file_path: String, pub output_level: String, pub logging_level: String, // some fields omitted }
Fields
file_path: String
output_level: String
logging_level: String
Methods
impl LoggingConfig
[src]
Trait Implementations
impl Clone for LoggingConfig
[src]
fn clone(&self) -> LoggingConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for LoggingConfig
[src]
impl Default for LoggingConfig
[src]
impl Element for LoggingConfig
[src]
fn from_yaml(meta: &ConfigMeta, config: &Yaml) -> Result<Self, ConfigError>
TODO: Needs documentation!
fn to_yaml(&self, path: &Path) -> Yaml
TODO: Needs documentation!
fn set_meta(&mut self, meta: &ConfigMeta)
TODO: Needs documentation!
fn meta(&self) -> Option<ConfigMeta>
TODO: Needs documentation!
fn write_file(&self) -> Result<(), ConfigError>
TODO: Needs documentation!
fn from_string(src: &str) -> Result<Self, ConfigError>
From some string (should be used for top level elements if you want to embed the code)
fn from_file_raw<P: AsRef<Path>>(
meta: &ConfigMeta,
path: P
) -> Result<Self, ConfigError>
meta: &ConfigMeta,
path: P
) -> Result<Self, ConfigError>
From a file relative to current config
fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, ConfigError>
From a file relative to project