[Live-devel] Android log patch

Ross Finlayson finlayson at live555.com
Wed Apr 25 07:58:11 PDT 2012


> Please take a look if you would consider the attached patch.
> It allows live555 to log to the logcat window (instead of std out/std err) 
> when compiled for android (i.e. ANDROID is defined).

Sorry, no, because this is too specific to one particular environment.

What you should be doing instead is defining your own subclass of "BasicUsageEnvironment" and reimplementing the various "operator<<" virtual functions in your subclass, and then using this subclass in your application, instead of "BasicUsageEnvironment".  This is exactly how the "UsageEnvironment" virtual base class was intended to be used.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120425/98d1ee0c/attachment.html>


More information about the live-devel mailing list