| ||||
marketing ...
better marketing that is what really matters. example?
public class Xxxxxx {
private static Logger logger = Logger.getLogger(Prunable.class);
it is hardly if i have to chase for bugs when i my class logger gets out
of sync with class name
(look on Productive Environments: Log with log4j)
- typical problem of code redundancy
i.e. class Prunable was used as template to create Xxxx but logger is still
reporting for Prunable - it may be good but it may be also a mistake
and definitely it is better to declare intention with your code:
public class Xxxxxx {
private static Logger logger = Logger.getLogger();
no confusion here: Logger works for containing class
created wed dec 25 2002 4am cet [2002/12/25 CET] 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