logging: add LogFormatter and LogWriter interfaces
[folly.git] / folly / experimental / logging / LogCategory.cpp
index 3eec18f16fb3764b3a37803f5bb240ea002f5988..7b915139450fea474e111f7386cc89dc0de949a8 100644 (file)
@@ -69,7 +69,7 @@ void LogCategory::processMessage(const LogMessage& message) const {
 
   for (size_t n = 0; n < numHandlers; ++n) {
     try {
-      handlers[n]->log(message, this);
+      handlers[n]->handleMessage(message, this);
     } catch (const std::exception& ex) {
       // If a LogHandler throws an exception, complain about this fact on
       // stderr to avoid swallowing the error information completely.  We