Consider removing the factory as `Logger` is `AnyVal`.