about author

Previous | Next Entry

November 9, 2002

alek blogs

insane blabbering without spelling (*)

minimze redundancy or logger design

what 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 :-)



This blog is about:
XML, Java, and everything else (or nothing ..)

Find more about
blog author

Blogroll:
Sam Ruby
Russell Beattie
Diego Doval
Joel on Software
and some (almost) harmless entertainment: The BileBlog

Projects::
MicroLogger
Xydra
WSIF
XmlPull API
XPP3/MXP1
XSOAP
XMessages

RSS RSS 0.92
0.92 [validate]
2.0 [validate]

Filter Entries:
Life Category Specific RSS Feed
Java Category Specific RSS Feed
XML Category Specific RSS Feed
Computing Category Specific RSS Feed
Web Services Category Specific RSS Feed


Valid XHTML 1.0!


Powered by microBlog (C) Aleksander Slominski

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