mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-11-23 15:59:58 +00:00
rectify ipc/rpc log print methods
Signed-off-by: wanghaoxu <wanghaoxu1@huawei.com>
This commit is contained in:
parent
bcbfd8f0f0
commit
35c547f6ae
@ -24,7 +24,7 @@
|
||||
#include "ipc_skeleton.h"
|
||||
|
||||
namespace OHOS {
|
||||
// static constexpr OHOS::HiviewDFX::HiLogLabel LOG_LABEL = { LOG_CORE, LOG_ID_RPC, "DbinderServiceStub" };
|
||||
static constexpr OHOS::HiviewDFX::HiLogLabel LOG_LABEL = { LOG_CORE, LOG_ID_RPC, "DbinderServiceStub" };
|
||||
|
||||
DBinderServiceStub::DBinderServiceStub(const std::string &service, const std::string &device, binder_uintptr_t object)
|
||||
: IPCObjectStub(Str8ToStr16(device + service)), serviceName_(service), deviceID_(device), binderObject_(object)
|
||||
@ -67,7 +67,6 @@ int32_t DBinderServiceStub::ProcessProto(uint32_t code, MessageParcel &data, Mes
|
||||
return DBINDER_SERVICE_PROCESS_PROTO_ERR;
|
||||
}
|
||||
|
||||
DBINDER_LOGI(LOG_LABEL, "stubIndex = %" PRIu64 ", socketFd = %" PRIu32 "", session->stubIndex, session->socketFd);
|
||||
DBINDER_LOGI(LOG_LABEL, "serviceName = %s", session->serviceName.c_str());
|
||||
|
||||
int uid = IPCSkeleton::GetCallingUid();
|
||||
|
Loading…
Reference in New Issue
Block a user