Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e44ad12 authored by Jack He's avatar Jack He
Browse files

GD-HCI: Change StopWatch log from INFO to DEBUG

* So that it is disabled by default

Bug: 164973960
Test: manual testing
Tag: #gd-refactor
Change-Id: If65ff532621f53f9ccf554121d702c3c41da5a96
parent 637ae941
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -34,11 +34,11 @@ StopWatch::StopWatch(std::string text)
  ss << std::put_time(std::localtime(&now_time_t), "%Y-%m-%d %H:%M:%S");
  ss << '.' << std::setfill('0') << std::setw(3) << millis.count();
  start_timestamp_ = ss.str();
  LOG_INFO(" %s: %s:", start_timestamp_.c_str(), text_.c_str());
  LOG_DEBUG(" %s: %s:", start_timestamp_.c_str(), text_.c_str());
}

StopWatch::~StopWatch() {
  LOG_INFO(
  LOG_DEBUG(
      "%s: %s: took %zu us",
      start_timestamp_.c_str(),
      text_.c_str(),