[−][src]Trait edwardium_logger::Target
Represents a log target.
Required methods
fn level(&self) -> Level
Returns the max level this target logs.
fn ignore(&self, record: &Record) -> bool
Whether the target wants to ignore given record.
fn write(&self, string: &str) -> Result<()>
Writes string to the target output. This doesn't check the ignore list.
fn flush(&self) -> Result<()>
Flushes target output.