The org.geotools.util.logging.Logging class provides two public methods to
get a logger:

   - public static Logger getLogger(final Class<?> classe)
   - public static Logger getLogger(final String name)

The latter is primarily used to provide a package name manually, while the
former infers the package name from the package of the provided class.

To (1) simplify the GeoTools repackaging, (2) simplify the Logging API and
(3) reduce the likelihood of incorrect packages being printed to the log,
we would like to remove all usages getLogger(final String name) (replacing
with invocation of the Class method) and deprecate the method, for future
removal (or at least switch to private).
The intent to do this concurrent with the GeoTools repackage happening this
week.

Does anyone have any objections, arguments for keeping the String method,
or other comments?

Torben
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to