mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:20:05 +00:00
Boost.Log -> spdlog - wsr88d/rda
This commit is contained in:
parent
44bcc7dd4c
commit
dda71133e0
10 changed files with 105 additions and 128 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#include <scwx/wsr88d/rda/rda_status_data.hpp>
|
||||
|
||||
#include <boost/log/trivial.hpp>
|
||||
#include <scwx/util/logger.hpp>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -9,7 +8,8 @@ namespace wsr88d
|
|||
namespace rda
|
||||
{
|
||||
|
||||
static const std::string logPrefix_ = "[scwx::wsr88d::rda::rda_status_data] ";
|
||||
static const std::string logPrefix_ = "scwx::wsr88d::rda::rda_status_data";
|
||||
static const auto logger_ = util::Logger::Create(logPrefix_);
|
||||
|
||||
class RdaStatusDataImpl
|
||||
{
|
||||
|
|
@ -233,8 +233,7 @@ uint16_t RdaStatusData::status_version() const
|
|||
|
||||
bool RdaStatusData::Parse(std::istream& is)
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(trace)
|
||||
<< logPrefix_ << "Parsing RDA Status Data (Message Type 2)";
|
||||
logger_->trace("Parsing RDA Status Data (Message Type 2)");
|
||||
|
||||
bool messageValid = true;
|
||||
size_t bytesRead = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue