Commit graph

4 commits

Author SHA1 Message Date
Lionel Parreaux
002e4a1964 added possibility to open files and close them automatically 2013-05-06 17:33:36 +02:00
Lionel Parreaux
35212ccc90 adapted eoLogger for redirecting to ostreams 2013-05-06 15:27:19 +02:00
marcello-ptr
d706968c31 logger outbuf not initialized when ostream ctor is called
A crash happens on the static initialization of eoLogger eo::log;
at the end of the file eoLogger.cpp (line 255)

The reason is that the ctor used to initialize the std::eostream base class of
eoLogger is invoked with an _obuf argument while _obuf has not been initialized
already.

The solution is to call the function
std::ostream::init(&_obuf)
after the ctor initalizer list, i.e. inside the body ctor.
2013-01-04 17:09:06 +01:00
quemy
8cd56f37db Migration from SVN 2012-08-30 11:30:11 +02:00
Renamed from branches/rc2.0/eo/src/utils/eoLogger.cpp (Browse further)