Better logging.
GitOrigin-RevId: f9f074d0005649fb63e13ccc0352313c9d5415cc
This commit is contained in:
parent
b75c532f2d
commit
b1853310fb
@ -129,9 +129,9 @@ static FileId register_photo(FileManager *file_manager, const PhotoSizeSource &s
|
|||||||
bool is_png = false) {
|
bool is_png = false) {
|
||||||
int32 local_id = location->local_id_;
|
int32 local_id = location->local_id_;
|
||||||
int64 volume_id = location->volume_id_;
|
int64 volume_id = location->volume_id_;
|
||||||
LOG(DEBUG) << "Receive " << (is_webp ? "webp" : (is_png ? "png" : "jpeg")) << " photo of type "
|
LOG(DEBUG) << "Receive " << (is_webp ? "webp" : (is_png ? "png" : "jpeg")) << " photo of type " << source.file_type
|
||||||
<< static_cast<int8>(source.file_type) << " in [" << dc_id << "," << volume_id << "," << local_id
|
<< " in [" << dc_id << "," << volume_id << "," << local_id << "]. Id: (" << id << ", " << access_hash
|
||||||
<< "]. Id: (" << id << ", " << access_hash << ")";
|
<< ")";
|
||||||
auto suggested_name = PSTRING() << static_cast<uint64>(volume_id) << "_" << static_cast<uint64>(local_id)
|
auto suggested_name = PSTRING() << static_cast<uint64>(volume_id) << "_" << static_cast<uint64>(local_id)
|
||||||
<< (is_webp ? ".webp" : (is_png ? ".png" : ".jpg"));
|
<< (is_webp ? ".webp" : (is_png ? ".png" : ".jpg"));
|
||||||
auto file_location_source = owner_dialog_id.get_type() == DialogType::SecretChat ? FileLocationSource::FromUser
|
auto file_location_source = owner_dialog_id.get_type() == DialogType::SecretChat ? FileLocationSource::FromUser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user