• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 Rockchip Electronics Co. LTD
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 
17 #ifndef __MPP_LOG_DEF_H__
18 #define __MPP_LOG_DEF_H__
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 #define MPP_LOG_UNKNOWN     0   /* internal use only                    */
25 #define MPP_LOG_FATAL       1   /* fatal error on aborting              */
26 #define MPP_LOG_ERROR       2   /* error log on unrecoverable failures  */
27 #define MPP_LOG_WARN        3   /* warning log on recoverable failures  */
28 #define MPP_LOG_INFO        4   /* Informational log                    */
29 #define MPP_LOG_DEBUG       5   /* Debug log                            */
30 #define MPP_LOG_VERBOSE     6   /* Verbose log                          */
31 #define MPP_LOG_SILENT      7   /* internal use only                    */
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /*__MPP_LOG_DEF_H__*/
38