Add LOG_CHECK.

GitOrigin-RevId: 683c36f0eb69fe886acc09d9351efe3fbada9def
This commit is contained in:
levlam 2019-06-27 20:08:58 +03:00
parent c1752528f2
commit fe00a7e7cf

View File

@ -40,7 +40,7 @@ string HttpUrl::get_url() const {
result += ':';
result += to_string(specified_port_);
}
CHECK(!query_.empty() && query_[0] == '/');
LOG_CHECK(!query_.empty() && query_[0] == '/') << query_;
result += query_;
return result;
}