Treelite
logging.cc
Go to the documentation of this file.
1 
8 #include <treelite/logging.h>
9 
10 // Override logging mechanism
11 void treelite::LogMessage::Log(const std::string& msg) {
13  auto callback = registry->Get();
14  callback(msg.c_str());
15 }
logging facility for Treelite