Use a user-configurable log.Logger to print to console instead of fmt.Println

Fixes https://github.com/sjwhitworth/golearn/issues/48