fn _bridge_exercise_demonstrate_logging(
logger: &mut Box<dyn ILogger>,
logger_type: &str
)
Expand description
Helper function to show an example of writing to a logger.
This is called for all types of loggers, showing how the ILogger interface hides the details of the underlying implementation.
Parameters
-
logger
A struct that implements the ILogger trait to which to log to.
-
logger_type
The type of the underlying logging implementation.