Would be debug-friendly to make `logger an `attr_accesor