Remove redundant LogInterface::rotate overrides.

This commit is contained in:
levlam 2021-05-17 02:04:50 +03:00
parent 3798ecaef5
commit 29230948c3
4 changed files with 0 additions and 9 deletions

View File

@ -206,8 +206,6 @@ class CliLog : public LogInterface {
default_log_interface->append(slice, log_level);
}
}
void rotate() override {
}
};
struct SendMessageInfo {

View File

@ -67,9 +67,6 @@ class MemoryLog : public LogInterface {
}
}
void rotate() override {
}
Slice get_buffer() const {
return Slice(buffer_, sizeof(buffer_));
}

View File

@ -263,8 +263,6 @@ class DefaultLog : public LogInterface {
process_fatal_error(slice);
}
}
void rotate() override {
}
};
static DefaultLog default_log;

View File

@ -187,8 +187,6 @@ class NullLog : public LogInterface {
public:
void append(CSlice /*slice*/, int /*log_level*/) override {
}
void rotate() override {
}
NullLog &ref() {
return *this;
}