This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Add Logging Support for SID Components


Hi -

> The attached patch adds logging support for sid components in 3 stages:
> [...]

Looks fine - good use of virtual inheritance.  A few minor things
I might have done differently:

- make a new component type for named file I/O, instead of
  changing sid-io-stdio; after all, stdio is bidirectional,
  meant to be interactive
- think of some other way to call stdout than "*"
- make logging output buffering dependent on an attribute (set as the last
  gasp of configuration) instead of pin-connectedness
- having a C++ flavour API (instead of printf()) for the logging function


- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]