The constructor should be public as it will be called by configurators in different packages.
return new MyLogger(name);