⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logd.h

📁 Android 一些工具
💻 H
字号:
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *      http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */#ifndef _ANDROID_CUTILS_LOGD_H#define _ANDROID_CUTILS_LOGD_H#include <time.h>#include <stdio.h>#include <unistd.h>#include <stdint.h>#include <sys/types.h>#ifdef HAVE_PTHREADS#include <pthread.h>#endif#include <cutils/uio.h>#include <stdarg.h>#ifdef __cplusplusextern "C" {#endif/* * Priority values, in ascending priority order. */typedef enum android_LogPriority {    ANDROID_LOG_UNKNOWN = 0,    ANDROID_LOG_DEFAULT,    /* only for SetMinPriority() */    ANDROID_LOG_VERBOSE,    ANDROID_LOG_DEBUG,    ANDROID_LOG_INFO,    ANDROID_LOG_WARN,    ANDROID_LOG_ERROR,    ANDROID_LOG_FATAL,    ANDROID_LOG_SILENT,     /* only for SetMinPriority(); must be last */} android_LogPriority;int __android_log_write(int prio, const char *tag, const char *text);int __android_log_vprint(int prio, const char *tag,			 const char *fmt, va_list ap);int __android_log_bwrite(int32_t tag, const void *payload, size_t len);int __android_log_btwrite(int32_t tag, char type, const void *payload,    size_t len);int __android_log_print(int prio, const char *tag,  const char *fmt, ...)#if defined(__GNUC__)    __attribute__ ((format(printf, 3, 4)))#endif    ;void __android_log_assert(const char *cond, const char *tag,			  const char *fmt, ...)    #if defined(__GNUC__)    __attribute__ ((noreturn))    __attribute__ ((format(printf, 3, 4)))#endif    ;#ifdef __cplusplus}#endif#endif /* _LOGD_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -