fix psr logger factory definition