| ||||
minimze redundancy or logger designwhat is the difference between those two lines?class Baz {
Logger logger = Logger.getLogger(Baz.class);
and
class Bar {
Logger logger = Logger.getLogger(Baz.class);
the problem is of course that prblmey user did not want to use logger
from Baz class in Bar class and it may be an annoying bug.
what about this:
class Baz {
Logger logger = Logger.getLogger();
now this version is safe and less redundancy. and is available as part of my
minilogger
:-)
created sat nov 9 2002 10am cst [2002/11/9 CST] permalink |
This blog is about: Find more
about
Blogroll:
Projects::
RSS
Filter Entries: |
Disclaimer: personal opinions and observations that may or may not be taken seriously, or even based on shared reality and generally are very unreliable and personal and snapshots of volatile writer mind ...
NOTE: THIS PAGE IS UNDER CONSTANT DEVELOPEMENT