Skip to main content

GameLogFormatter

Trait GameLogFormatter 

Source
pub trait GameLogFormatter: Send + Sync {
    // Required method
    fn format(&self, entry: &GameLogEntry) -> String;
}
Expand description

Log formatter interface. Mirrors Java GameLogFormatter.

Required Methods§

Source

fn format(&self, entry: &GameLogEntry) -> String

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§