On Wed, Mar 27, 2013 at 1:59 PM, Ron Lindhoudt <[email protected]> wrote:
> This page:
> http://docs.geotools.org/latest/developer/conventions/code/log.html
>
> It contains explanation how to turn on logging for a module.
> But it does not explain what module to use. I thought a module was a
> package.
> This is not always the case as you explained earlier.
> Maybe for developers of the packages it is clear, but not for package
> users.
>
The code pretty much uniformly uses the class being logged as the
reference for logging, e.g.:
class Foo {
Logger LOGGER = Logging.getLogger(Foo.class);
}
so if you want to catch a bunch of classes in a certain package you
change the log levels for that package or some parent package
that catches all the classes you're interested into.
The documentation is stored in the version control just like the code,
if you want you can prepare pull requests to improve it:
https://github.com/geotools/geotools/tree/master/docs
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users