Add parameter to force the usage of a logger class instead the default one
Force the usage of logger stream in debug mode