Fix AsyncFileLog test.

This commit is contained in:
levlam 2023-05-18 13:09:59 +03:00
parent 3d06cdd94e
commit bd480941a1

View File

@ -168,7 +168,7 @@ TEST(Log, Bench) {
class AsyncFileLog final : public td::LogInterface {
public:
AsyncFileLog() {
file_log_.init("tmplog", std::numeric_limits<td::int64>::max()).ensure();
file_log_.init("tmplog", std::numeric_limits<td::int64>::max(), false).ensure();
}
void do_append(int log_level, td::CSlice slice) final {
static_cast<td::LogInterface &>(file_log_).do_append(log_level, slice);