mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
bugfixes + tonlib update
This commit is contained in:
parent
2f81361a02
commit
eecf05ca59
35 changed files with 734 additions and 193 deletions
|
@ -46,12 +46,15 @@ class FileLog : public LogInterface {
|
|||
|
||||
void rotate() override;
|
||||
|
||||
void lazy_rotate();
|
||||
|
||||
private:
|
||||
FileFd fd_;
|
||||
string path_;
|
||||
int64 size_ = 0;
|
||||
int64 rotate_threshold_ = 0;
|
||||
bool redirect_stderr_;
|
||||
std::atomic<bool> want_rotate_{};
|
||||
|
||||
void do_rotate();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue