[][src]Trait cortex::models::LogRecord

pub trait LogRecord {
    fn task_id(&self) -> i64;
fn category(&self) -> &str;
fn what(&self) -> &str;
fn details(&self) -> &str;
fn set_details(&mut self, new_details: String);
fn severity(&self) -> &str; fn debug(&self, f: &mut Formatter) -> Result { ... } }

Log actor trait, assumes already Identifiable (for id())

Required methods

fn task_id(&self) -> i64

Owner Task's id accessor

fn category(&self) -> &str

Category accessor

fn what(&self) -> &str

What accessor

fn details(&self) -> &str

Details accessor

fn set_details(&mut self, new_details: String)

Details setter

fn severity(&self) -> &str

Severity accessor

Loading content...

Provided methods

fn debug(&self, f: &mut Formatter) -> Result

Implements the fmt::Debug fmt

Loading content...

Trait Implementations

impl Debug for dyn LogRecord[src]

impl Display for dyn LogRecord[src]

Implementors

impl LogRecord for NewTaskMessage[src]

impl LogRecord for TaskMessage[src]

impl LogRecord for LogError[src]

impl LogRecord for LogFatal[src]

impl LogRecord for LogInfo[src]

impl LogRecord for LogInvalid[src]

impl LogRecord for LogWarning[src]

impl LogRecord for NewLogError[src]

impl LogRecord for NewLogFatal[src]

impl LogRecord for NewLogInfo[src]

impl LogRecord for NewLogInvalid[src]

impl LogRecord for NewLogWarning[src]

Loading content...