Trait bevy_retrograde::ui::raui::core::Logger[]

pub trait Logger {
    fn log(&mut self, _kind: LogKind, _message: &str) { ... }
}
Expand description

Common logging interface that custom log engines should follow to enable their reusability across different modules that will log messages to text output targets. Objects that implement this trait should be considered text output targets, for example text streams, terminal, network-based loggers, even application screen.

Provided methods

Log message to this type of text output target.

Arguments

  • kind - Kind of log message.
  • message - Message string slice.

Implementations on Foreign Types

Implementors