instance property

void instance=(Logger logger)

Setter for Testing

Implementation

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