diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2020-06-16 15:09:34 +0300 |
---|---|---|
committer | Olga Khlopkova <mesozoic.drones@gmail.com> | 2020-06-16 16:07:54 +0300 |
commit | 763269e7a80cf4f8502a93a03431ae906c8c1830 (patch) | |
tree | 44982628ac1dce01d9b28706b95711fadf811e2a /openlr | |
parent | c1d3af0a8d03725fe34efc744e40832efc46e7ce (diff) |
[openlr] Writing to log in release as well
Diffstat (limited to 'openlr')
-rw-r--r-- | openlr/openlr_decoder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openlr/openlr_decoder.cpp b/openlr/openlr_decoder.cpp index db7a4b91ed..0ffb2bdf3e 100644 --- a/openlr/openlr_decoder.cpp +++ b/openlr/openlr_decoder.cpp @@ -384,7 +384,7 @@ public: bool DecodeSegment(LinearSegment const & segment, DecodedPath & path, v2::Stats & stat) { - LOG(LDEBUG, ("DecodeSegment(...) seg id:", segment.m_segmentId, ", point num:", segment.GetLRPs().size())); + LOG(LINFO, ("DecodeSegment(...) seg id:", segment.m_segmentId, ", point num:", segment.GetLRPs().size())); uint32_t constexpr kMaxJunctionCandidates = 10; uint32_t constexpr kMaxProjectionCandidates = 5; @@ -395,7 +395,7 @@ public: CHECK_GREATER(points.size(), 1, ("A segment cannot consist of less than two points")); vector<ScorePathVec> lineCandidates; lineCandidates.reserve(points.size()); - LOG(LDEBUG, ("Decoding segment:", segment.m_segmentId, "with", points.size(), "points")); + LOG(LINFO, ("Decoding segment:", segment.m_segmentId, "with", points.size(), "points")); ScoreCandidatePointsGetter pointsGetter(kMaxJunctionCandidates, kMaxProjectionCandidates, m_dataSource, m_graph); @@ -431,7 +431,7 @@ public: actualRouteDistanceM += EdgeLength(e); auto const scale = actualRouteDistanceM / requiredRouteDistanceM; - LOG(LDEBUG, ("actualRouteDistance:", actualRouteDistanceM, + LOG(LINFO, ("actualRouteDistance:", actualRouteDistanceM, "requiredRouteDistance:", requiredRouteDistanceM, "scale:", scale)); if (segment.m_locationReference.m_positiveOffsetMeters + |