Commits

a4z committed c0e2b9b

fixes for release build

  • Participants
  • Parent commits ec46c7f

Comments (0)

Files changed (2)

File src/cli/featurex.cpp

 {
   
 
-  WriteAppMsg() << " internal test function " << __PRETTY_FUNCTION__ << "\n";
+  LogInfo() << " internal test function " << __PRETTY_FUNCTION__ << "\n";
 
 #ifndef DEBUG
-  Log::AppMessage() << "not enabled in non debug builds\n";
+  LogInfo() << "not enabled in non debug builds\n";
   return;
 #endif
 

File src/sbbdep/log.cpp

 
 #include <mutex>
 
+#include <iostream>
+
 
 namespace sbbdep
 {
 {
 #ifdef DEBUG
   static std::shared_ptr<LogWriter> writer = std::make_shared<LogWriter>(std::cerr) ;
-  return LogChannel( std::make_shared<DevNullStream>() ) ;  
+  return LogChannel( std::make_shared<LogStream>(writer) ) ;  
 #else
   return LogChannel( std::make_shared<DevNullStream>() ) ;  
 #endif