
14 Sep
2006
14 Sep
'06
11:41 a.m.
Scott Meyers wrote:
I'm suspicious of a design for a EventLog that seems to require a stream to be useful, yet still allows a EventLog to be created without one, but this seems to be contrary to the advice of a book on how to design an application framework from the people who are responsible for designing one of the most used APIs in existence (.NET).
I'm still not sure how can you test an EventLog without a stream. What do you test? The default constructor and the destructor? Isn't the whole purpose of the EventLog to output something into its stream?