1 /* 2 * Copyright (C) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef OHOS_COMMUNICATION_LOG_TAGS_H 17 #define OHOS_COMMUNICATION_LOG_TAGS_H 18 19 namespace OHOS { 20 const unsigned int LOG_ID_COMMUNICATION = 0xD001500; 21 22 const unsigned int LOG_ID_IPC = LOG_ID_COMMUNICATION | 0x10; 23 24 const unsigned int LOG_ID_RPC = LOG_ID_COMMUNICATION | 0x18; 25 26 const unsigned int LOG_ID_DISC = LOG_ID_COMMUNICATION | 0x20; 27 28 const unsigned int LOG_ID_DNET = LOG_ID_COMMUNICATION | 0x30; 29 30 const unsigned int LOG_ID_SMARTNET = LOG_ID_COMMUNICATION | 0x40; 31 32 const unsigned int LOG_ID_BLUETOOTH = LOG_ID_COMMUNICATION | 0x50; 33 34 const unsigned int LOG_ID_WIFI = LOG_ID_COMMUNICATION | 0x60; 35 const unsigned int LOG_ID_WIFI_HOTSPOT = LOG_ID_WIFI | 0x01; 36 const unsigned int LOG_ID_WIFI_ENHANCER = LOG_ID_WIFI | 0x02; 37 38 const unsigned int LOG_ID_NFC = LOG_ID_COMMUNICATION | 0x70; 39 40 const unsigned int LOG_ID_NSTACK = LOG_ID_COMMUNICATION | 0x80; 41 42 const unsigned int LOG_ID_RADIO = LOG_ID_COMMUNICATION | 0x90; 43 44 const unsigned int LOG_ID_REMOTE_P2P = LOG_ID_COMMUNICATION | 0xA0; 45 46 const unsigned int LOG_ID_NET_MANAGER = LOG_ID_COMMUNICATION | 0xB0; 47 } // namespace OHOS 48 #endif // OHOS_COMMUNICATION_LOG_TAGS_H 49