Remove legacy LogInterface::append method.
GitOrigin-RevId: 36869b2f405ed9af7b97845285d336b6dce1b480
This commit is contained in:
parent
462197e260
commit
f7011a3853
@ -40,9 +40,6 @@ class TsFileLog : public LogInterface {
|
||||
return res;
|
||||
}
|
||||
|
||||
void append(CSlice cslice) override {
|
||||
return append(cslice, -1);
|
||||
}
|
||||
void append(CSlice cslice, int log_level) override {
|
||||
get_current_logger()->append(cslice, log_level);
|
||||
}
|
||||
|
@ -182,14 +182,12 @@ class LogInterface {
|
||||
LogInterface(LogInterface &&) = delete;
|
||||
LogInterface &operator=(LogInterface &&) = delete;
|
||||
virtual ~LogInterface() = default;
|
||||
virtual void append(CSlice slice) {
|
||||
append(slice, -1);
|
||||
}
|
||||
virtual void append(CSlice slice, int /*log_level*/) {
|
||||
append(slice);
|
||||
}
|
||||
|
||||
virtual void append(CSlice slice, int log_level) = 0;
|
||||
|
||||
virtual void rotate() {
|
||||
}
|
||||
|
||||
virtual vector<string> get_file_paths() {
|
||||
return {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user