TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ LoggingOutputStreambuf() [1/2]

LoggingOutputStreambuf::LoggingOutputStreambuf ( std::streambuf *  dest,
std::string const &  logfileName 
)

Definition at line 11 of file LogHandler.cpp.

14 : myDest( dest )
15 , myOwner( nullptr )
16{
17 myLogFile.open(filename);
18 myLogFile <<"Logging Started\n";
19
20 if ( !myLogFile.is_open() )
21 {
22 // Some error handling...
23 }
24}