C
cppaddict
I've read a couple of online tutorials about the java.util.logging
API, and have gone over the examples here:
http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html#2.0
I am still unclear on some basic points, and would love to see a few
more detailed examples -- ideally, a sample app made up of a handful
of collaborating classes. However, I cannot find anything like this
on google. Can anyone point me in the right direction?
I only need to use very simple logging. I want to be able to control
output using levels, output to console or file or both (depending on
my config). I still don't understand why each class needs its own
logger, and I don't know how to control output using config files (or
how to set the location of a config file).
Thanks for any help,
cpp
API, and have gone over the examples here:
http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html#2.0
I am still unclear on some basic points, and would love to see a few
more detailed examples -- ideally, a sample app made up of a handful
of collaborating classes. However, I cannot find anything like this
on google. Can anyone point me in the right direction?
I only need to use very simple logging. I want to be able to control
output using levels, output to console or file or both (depending on
my config). I still don't understand why each class needs its own
logger, and I don't know how to control output using config files (or
how to set the location of a config file).
Thanks for any help,
cpp