Logger typedef

Logger = void Function(String msg)

A function type that takes a String message and handles logging the message.

Implementation

typedef void Logger(String msg);