Improve logging.
GitOrigin-RevId: d03e6ce64b2e88389f0e3df1ecfec4efb5711e75
This commit is contained in:
parent
cd8c63f073
commit
fd10b27847
@ -136,7 +136,8 @@ Status Global::init(const TdParameters ¶meters, ActorId<Td> td, unique_ptr<T
|
|||||||
|
|
||||||
int32 Global::to_unix_time(double server_time) const {
|
int32 Global::to_unix_time(double server_time) const {
|
||||||
LOG_CHECK(1.0 <= server_time && server_time <= 2140000000.0)
|
LOG_CHECK(1.0 <= server_time && server_time <= 2140000000.0)
|
||||||
<< server_time << " " << Clocks::system() << " " << saved_diff_ << " " << saved_system_time_;
|
<< server_time << " " << Clocks::system() << " " << is_server_time_reliable() << " "
|
||||||
|
<< get_server_time_difference() << " " << Time::now() << saved_diff_ << " " << saved_system_time_;
|
||||||
return static_cast<int32>(server_time);
|
return static_cast<int32>(server_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user