1bf215546Sopenharmony_ci/* 2bf215546Sopenharmony_ci * Copyright (C) 2005-2017 The Android Open Source Project 3bf215546Sopenharmony_ci * 4bf215546Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 5bf215546Sopenharmony_ci * you may not use this file except in compliance with the License. 6bf215546Sopenharmony_ci * You may obtain a copy of the License at 7bf215546Sopenharmony_ci * 8bf215546Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 9bf215546Sopenharmony_ci * 10bf215546Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 11bf215546Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 12bf215546Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13bf215546Sopenharmony_ci * See the License for the specific language governing permissions and 14bf215546Sopenharmony_ci * limitations under the License. 15bf215546Sopenharmony_ci */ 16bf215546Sopenharmony_ci 17bf215546Sopenharmony_ci#pragma once 18bf215546Sopenharmony_ci 19bf215546Sopenharmony_ci#include <android/log.h> 20bf215546Sopenharmony_ci 21bf215546Sopenharmony_ci#ifdef __cplusplus 22bf215546Sopenharmony_ciextern "C" { 23bf215546Sopenharmony_ci#endif 24bf215546Sopenharmony_ci 25bf215546Sopenharmony_ci/* 26bf215546Sopenharmony_ci * log_id_t helpers 27bf215546Sopenharmony_ci */ 28bf215546Sopenharmony_cilog_id_t android_name_to_log_id(const char* logName); 29bf215546Sopenharmony_ciconst char* android_log_id_to_name(log_id_t log_id); 30bf215546Sopenharmony_ci 31bf215546Sopenharmony_ci#ifdef __cplusplus 32bf215546Sopenharmony_ci} 33bf215546Sopenharmony_ci#endif 34