• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14module:
15  name: arkbase
16  # It is better to name this namespace simply "panda::base", but there is already namespace "ecmascript::base", which
17  # is used just as "base", hence it conflicts with this namespace. I fixed it by renaming base->ecmascript::base in
18  # this repository, but there is the external repository ark_js_runtime, which uses us as an external library and has
19  # the same problem with "ecmascript::base". So, I've gave up and renamed it to "base_options".
20  namespace: panda::base_options
21
22options:
23- name: log-level
24  type: std::string
25  default: error
26  possible_values:
27  - debug
28  - info
29  - warning
30  - error
31  - fatal
32  description: Log level
33
34- name: log-stream
35  type: std::string
36  default: std
37  possible_values:
38  - std
39  - file
40  - fast-file
41  - dummy
42  description: Log level
43
44- name: log-file
45  type: std::string
46  default: ""
47  description: File name for file-logger
48
49- name: log-components
50  type: arg_list_t
51  default:
52  - all
53  possible_values:
54  - all
55  - alloc
56  - mm-obj-events
57  - classlinker
58  - common
59  - core
60  - gc
61  - gc_trigger
62  - reference_processor
63  - interpreter
64  - compiler
65  - llvm
66  - pandafile
67  - memorypool
68  - runtime
69  - trace
70  - debugger
71  - interop
72  - jni
73  - verifier
74  - compilation_queue
75  - jvmti
76  - aot
77  - events
78  - ecmascript
79  - scheduler
80  - coroutines
81  description: Enable logs from specified components
82  delimiter: ":"
83
84- name: log-debug
85  type: arg_list_t
86  default:
87  - all
88  possible_values: $log-components
89  description: Enable debug or above logs from specified components
90  delimiter: ":"
91
92- name: log-info
93  type: arg_list_t
94  default:
95  - all
96  possible_values: $log-components
97  description: Enable info or above logs from specified components
98  delimiter: ":"
99
100- name: log-warning
101  type: arg_list_t
102  default:
103  - all
104  possible_values: $log-components
105  description: Enable warning or above logs from specified components
106  delimiter: ":"
107
108- name: log-error
109  type: arg_list_t
110  default:
111  - all
112  possible_values: $log-components
113  description: Enable error or above logs from specified components
114  delimiter: ":"
115
116- name: log-fatal
117  type: arg_list_t
118  default:
119  - all
120  possible_values: $log-components
121  description: Enable fatal logs from specified components
122  delimiter: ":"
123