1/* 2 * Copyright (C) 2018 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17syntax = "proto2"; 18 19package perfetto.protos; 20 21// Values from NDK's android/log.h. 22enum AndroidLogId { 23 // MAIN. 24 LID_DEFAULT = 0; 25 26 LID_RADIO = 1; 27 LID_EVENTS = 2; 28 LID_SYSTEM = 3; 29 LID_CRASH = 4; 30 LID_STATS = 5; 31 LID_SECURITY = 6; 32 LID_KERNEL = 7; 33} 34 35enum AndroidLogPriority { 36 PRIO_UNSPECIFIED = 0; 37 38 // _DEFAULT, but should never be seen in logs. 39 PRIO_UNUSED = 1; 40 41 PRIO_VERBOSE = 2; 42 PRIO_DEBUG = 3; 43 PRIO_INFO = 4; 44 PRIO_WARN = 5; 45 PRIO_ERROR = 6; 46 PRIO_FATAL = 7; 47} 48