aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-06 14:37:07 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-09-06 14:37:36 +0200
commite3a25162807f4a39b1972ad5c9ebf53c879b9bb8 (patch)
tree42e375a63ce8116a8199ff3eed0b8798be08ed1b
parent1fba10409b542cf52655f70aea37efcf7c969f3c (diff)
Transceiver: Use LOGCHAN in logRxBurst to unify log format
-rw-r--r--Transceiver52M/Transceiver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 0583998..8afbc95 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -1016,8 +1016,7 @@ void Transceiver::logRxBurst(size_t chan, const struct trx_ul_burst_ind *bi)
else os << "-";
}
- LOG(DEBUG) << std::fixed << std::right
- << " chan: " << chan
+ LOGCHAN(chan, DMAIN, DEBUG) << std::fixed << std::right
<< " time: " << unsigned(bi->tn) << ":" << bi->fn
<< " RSSI: " << std::setw(5) << std::setprecision(1) << (bi->rssi - rssiOffset)
<< "dBFS/" << std::setw(6) << -bi->rssi << "dBm"