Skip to content

Commit 66a7b0c

Browse files
committed
fix logger
1 parent 6389333 commit 66a7b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/push_socket/push_client_impl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,13 +469,13 @@ void TIGER_API::PushClientImpl::on_message(const std::shared_ptr<tigeropen::push
469469
}
470470
break;
471471
default:
472-
logger_->warn("unhandled frame: {}", frame->DebugString());
472+
LOG(ERROR) << "unhandled frame: " << frame->DebugString();
473473
break;
474474
}
475475
}
476476
}
477477
catch (const std::exception& e) {
478-
logger_->error("error in on_message: {}", e.what());
478+
LOG(ERROR) << "error in on_message: " << e.what();
479479
}
480480
}
481481

0 commit comments

Comments
 (0)