Other anticipated changes for 0.8.5, Part 2
Tue, 26 Oct 1999 08:07:32 -0500
At 08:29 PM 10/22/99 , Mark S. Miller wrote:
>This only effects the Java/ELib programmer. Brian Marick's tracing system
>http://www.erights.org/to-be-sorted/Tracing.html is a thing of wonder if
>used properly. We aren't. I had an ad-hoc mixture of the old legacy
>class-based tracing categories and the new centralized categories. For the
>sake of consistency, I've changed to the centralized categories, but, Brian,
>is this an improvement? It seems we now have a coordination bottleneck in
>creating new tracing categories. The old system didn't have this problem.
I don't understand. By "centralized categories", do you mean the ones
created with constructors like:
static private Trace subsystemTrace = new Trace("subsystem");
A bunch of those Trace objects are (were) created when the TraceController
is initialized, but any class/subsystem/code can create additional ones. So
there doesn't have to be a single central chunk of code where all Trace
objects are created. The predefined ones are there only for convenience,
not out of necessity.
Or do I miss your drift?
I'm on the road, so I can't look at the code right now. But I think that's
how it worked.
Brian Marick, Reliable Software Technologies, http://www.rstcorp.com
Testing essays and FAQs at http://www.rstcorp.com/marick/
Technical Editor of Software Testing and Quality Engineering,
"Let every student of nature take this as his rule, that whatever the mind
seizes upon with particular satisfaction is to be held in suspicion."
-- Francis Bacon, Novum Organum, 1620.