Struct abscissa::logging::LoggingComponent [−][src]
pub struct LoggingComponent(_);
Abscissa component for initializing the logging subsystem
Methods
impl LoggingComponent
[src]
impl LoggingComponent
pub fn new(config: LoggingConfig) -> Self
[src]
pub fn new(config: LoggingConfig) -> Self
Create a new LoggingComponent
with the given configuration
Trait Implementations
impl Debug for LoggingComponent
[src]
impl Debug for LoggingComponent
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for LoggingComponent
[src]
impl Default for LoggingComponent
fn default() -> LoggingComponent
[src]
fn default() -> LoggingComponent
Returns the "default value" for a type. Read more
impl Component for LoggingComponent
[src]
impl Component for LoggingComponent
fn name(&self) -> &'static str
[src]
fn name(&self) -> &'static str
Name of this component
fn version(&self) -> Version
[src]
fn version(&self) -> Version
Version of this component
fn init(&mut self) -> Result<(), FrameworkError>
[src]
fn init(&mut self) -> Result<(), FrameworkError>
Initialize this component at the time the framework boots
ⓘImportant traits for Iter<'a, T>fn dependencies(&self) -> Iter<&'static str>
[src]
ⓘImportant traits for Iter<'a, T>
fn dependencies(&self) -> Iter<&'static str>
Names of the components this components depends on
fn shutdown(&self) -> Result<(), FrameworkError>
[src]
fn shutdown(&self) -> Result<(), FrameworkError>
Shut down this component when the app shuts down
Auto Trait Implementations
impl Send for LoggingComponent
impl Send for LoggingComponent
impl Sync for LoggingComponent
impl Sync for LoggingComponent