• 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 arkcompiler_ets_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  - pandafile
66  - memorypool
67  - runtime
68  - trace
69  - debugger
70  - interop
71  - jni
72  - verifier
73  - compilation_queue
74  - jvmti
75  - aot
76  - events
77  - ecmascript
78  - scheduler
79  description: Enable logs from specified components
80  delimiter: ":"
81
82- name: log-debug
83  type: arg_list_t
84  default:
85  - all
86  possible_values: $log-components
87  description: Enable debug or above logs from specified components
88  delimiter: ":"
89
90- name: log-info
91  type: arg_list_t
92  default:
93  - all
94  possible_values: $log-components
95  description: Enable info or above logs from specified components
96  delimiter: ":"
97
98- name: log-warning
99  type: arg_list_t
100  default:
101  - all
102  possible_values: $log-components
103  description: Enable warning or above logs from specified components
104  delimiter: ":"
105
106- name: log-error
107  type: arg_list_t
108  default:
109  - all
110  possible_values: $log-components
111  description: Enable error or above logs from specified components
112  delimiter: ":"
113
114- name: log-fatal
115  type: arg_list_t
116  default:
117  - all
118  possible_values: $log-components
119  description: Enable fatal logs from specified components
120  delimiter: ":"
121