Make logger an intrerface

It would be nice for the logger to be an interface instead of having to be of type logger
I don't think there's a need for this function if the `Logger` variable is still public since users can just assign to it anyways?