Trait RosoutRaw

Source
pub trait RosoutRaw {
    // Required methods
    fn rosout_writer(&self) -> Arc<Option<Publisher<Log>>>;
    fn base_name(&self) -> &str;

    // Provided method
    fn rosout_raw(
        &self,
        timestamp: Timestamp,
        level: impl Into<LogLevel>,
        log_name: &str,
        log_msg: &str,
        source_file: &str,
        source_function: &str,
        source_line: u32,
    ) { ... }
}
Expand description

Ability to write to rosout log.

Required Methods§

Source

fn rosout_writer(&self) -> Arc<Option<Publisher<Log>>>

Returns the rosout writer from self.

Source

fn base_name(&self) -> &str

Returns the base name of the Node.

Provided Methods§

Source

fn rosout_raw( &self, timestamp: Timestamp, level: impl Into<LogLevel>, log_name: &str, log_msg: &str, source_file: &str, source_function: &str, source_line: u32, )

Logs to rosout.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§