Merge pull request #700 from Starsss/master

Fix: not implement virtual class when WITH_CUSTOM_PREFIX on
This commit is contained in:
Sergiu Deitsch 2021-08-13 13:32:07 +02:00 committed by GitHub
commit 6f9e32a79e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -849,7 +849,7 @@ struct MyLogger : public base::Logger {
virtual void Write(bool /* should_flush */,
time_t /* timestamp */,
const char* message,
int length) {
size_t length) {
data.append(message, length);
}
@ -981,7 +981,7 @@ struct RecordDeletionLogger : public base::Logger {
virtual void Write(bool force_flush,
time_t timestamp,
const char* message,
int length) {
size_t length) {
wrapped_logger_->Write(force_flush, timestamp, message, length);
}
virtual void Flush() { wrapped_logger_->Flush(); }