diff options
| author | levlam <levlam@telegram.org> | 2022-10-15 10:17:42 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-10-15 10:17:42 +0300 |
| commit | 5217a86e0d7ddcafa4968a2605f6e96b14082c12 (patch) | |
| tree | f795f9b99ccdf6ecd93a225e5fbe407f40b7558f /tdutils/td/utils/AsyncFileLog.h | |
| parent | bfd8c8dcf37243a752d7fa5fb8e5f319497c1482 (diff) | |
Support redirect_stderr in AsyncFileLog.
Diffstat (limited to 'tdutils/td/utils/AsyncFileLog.h')
| -rw-r--r-- | tdutils/td/utils/AsyncFileLog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdutils/td/utils/AsyncFileLog.h b/tdutils/td/utils/AsyncFileLog.h index 615d2a2f9..eca588c93 100644 --- a/tdutils/td/utils/AsyncFileLog.h +++ b/tdutils/td/utils/AsyncFileLog.h @@ -24,7 +24,7 @@ class AsyncFileLog final : public LogInterface { AsyncFileLog &operator=(AsyncFileLog &&) = delete; ~AsyncFileLog(); - Status init(string path, int64 rotate_threshold); + Status init(string path, int64 rotate_threshold, bool redirect_stderr = true); private: struct Query { |
