[Libreoffice] How to write debug output to console or file?
kendy at suse.cz
Fri Oct 29 05:05:34 PDT 2010
Michael Meeks píše v Pá 29. 10. 2010 v 12:14 +0100:
> > > The problem here is to get a C string from them: here are some
> > > * from OUString:
> > > rtl::OUStringToOString( sOUStr, RTL_TEXTENCODING_UTF8
> Much as I hate the over-use of operator overloading, and the streams
> idiom; is there a good reason why we can't have some
> osl::OutputStrm << "foo" << aString << "\n";
> type thing ? [ as long as we don't go wild and start using this mess
> all over the place ;-].
> Thoughts ?
My complete history of tries & fails wrt. doing the debug output easier
At some stage I introduced std::cout << "foo " << aString << std::endl;
in ooo-build, but it was breaking the unit tests in tools:
Author: Jan Holesovsky <kendy at suse.cz>
Date: Thu Jul 26 17:40:35 2007 +0000
Kill, breaks tools unit tests (and is not much helpful anyway).
patches/src680/apply: Kill, breaks tools unit tests (and is not much
Could anybody here re-try & see what exactly was going on there?
More information about the LibreOffice