[][src]Trait stlog::Log

pub trait Log {
    type Error;
    fn log(&mut self, address: u8) -> Result<(), Self::Error>;
}

A logger that encodes messages using a symbol table

Contract

The implementation of the log method MUST send its argument as a single byte through some interface.

Associated Types

type Error

Error type of the log operation

Loading content...

Required methods

fn log(&mut self, address: u8) -> Result<(), Self::Error>

Sends the address of the symbol through some interface

Loading content...

Implementors

impl Log for NullLogger[src]

type Error = Void

Loading content...