instance property

set instance (Logger logger)

Setter for Testing

Implementation

set instance(Logger logger) => _instance = logger;