diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-06 14:37:07 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-06 14:37:36 +0200 |
commit | e3a25162807f4a39b1972ad5c9ebf53c879b9bb8 (patch) | |
tree | 42e375a63ce8116a8199ff3eed0b8798be08ed1b | |
parent | 1fba10409b542cf52655f70aea37efcf7c969f3c (diff) |
Transceiver: Use LOGCHAN in logRxBurst to unify log format
Change-Id: Iec33ab73a9bf90fd0bff9ba453c32ea11bf0670e
-rw-r--r-- | Transceiver52M/Transceiver.cpp | 3 |
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" |