1 /* 2 * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. 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 * Description: log type header 15 */ 16 #ifndef LOG_TYPES_H 17 #define LOG_TYPES_H 18 19 /** 20 * @defgroup connectivity_libs_common_log LOG Types 21 * @ingroup connectivity_libs_common 22 * @{ 23 */ 24 /** 25 * @brief Log level enum. 26 */ 27 typedef enum { 28 LOG_LEVEL_NONE, 29 LOG_LEVEL_ERROR, 30 LOG_LEVEL_WARNING, 31 LOG_LEVEL_INFO, 32 LOG_LEVEL_DBG, 33 LOG_LEVEL_MAX, 34 } log_level_e; 35 36 #endif 37