Flush any buffered messages. NOTE: declared 'final' to allow safe calls from the destructor.
| 187 | // Flush any buffered messages. |
| 188 | // NOTE: declared 'final' to allow safe calls from the destructor. |
| 189 | void Flush() override final { |
| 190 | Status status = logger_.Flush(); |
| 191 | if (!status.ok()) { |
| 192 | LOG_EVERY_N(WARNING, 1000) << "Could not write to data cache access trace (" |
| 193 | << google::COUNTER << " attempts failed): " << status.GetDetail(); |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | uint32 LogSize() override { |
| 198 | LOG(FATAL) << "Unimplemented"; |