logger

var logger: (String) -> Unit? = null

The optional function to receive logs