< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Log stream lining, some Data interface changes


Hi all,

I finally got a devel environment going.

I checked in a (mostly) transparent change to the logging. The compile
size of the logging macros are greatly reduced. Runtime is slightly
improved. The bulk of the code has been moved into Log::Guard.

The only non-backward compatible change I made was to give the
external logger invocation a new argument. I pass the string to be
logged both with and without the timestamp etc. prefix.

I also reviewed Adam's docs on Data and addressed some of the
deprecates and a few well informed whines.

Data(int, bool) has been deprecated in favor of Data(int,
Data::PreallocateType). I have replaced all usages within sip/...
Please change your apps when possible.

Data buffer(256, Data::Preallocate);
Makes a data with no contents and a capacity of 256.

thanks,
david