| 89 | } |
| 90 | |
| 91 | void onMessage(const TcpConnectionPtr&, |
| 92 | const MessagePtr& message, |
| 93 | Timestamp) |
| 94 | { |
| 95 | // SHOULD NOT HAPPEN |
| 96 | LogRecord* logRecord = muduo::down_cast<LogRecord*>(message.get()); |
| 97 | LOG_WARN << logRecord->DebugString(); |
| 98 | } |
| 99 | |
| 100 | void updateLogRecord(const StringPiece& message) REQUIRES(mutex_) |
| 101 | { |