diff options
author | Alon Albert <aalbert@google.com> | 2022-01-06 14:01:19 -0800 |
---|---|---|
committer | Alon Albert <aalbert@google.com> | 2022-01-11 15:29:04 +0000 |
commit | 7d8b4c78b0388a3a0abcde567c69b36db8bf1d93 (patch) | |
tree | d27a6dcee5eed28dde8cc3d09cae11b66aaaa768 /logcat/resources | |
parent | 5192e684f88d9e726c91d15329808040638ab1d3 (diff) | |
download | idea-7d8b4c78b0388a3a0abcde567c69b36db8bf1d93.tar.gz |
Add a Color Settings Page For Logcat
Bug: 191880898
Test: Todo
Change-Id: I73a01d64711dcc5cdf7bd115d6e792b7b8ef8cc8
Diffstat (limited to 'logcat/resources')
3 files changed, 132 insertions, 2 deletions
diff --git a/logcat/resources/colorSchemes/LogcatColorSchemeDarcula.xml b/logcat/resources/colorSchemes/LogcatColorSchemeDarcula.xml new file mode 100644 index 00000000000..df67ccd426d --- /dev/null +++ b/logcat/resources/colorSchemes/LogcatColorSchemeDarcula.xml @@ -0,0 +1,64 @@ +<!-- + ~ Copyright (C) 2021 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> +<list> + <option name="LOGCAT_V2_LEVEL_VERBOSE"> + <value> + <option name="FOREGROUND" value="ffffff"/> + <option name="BACKGROUND" value="000000"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_DEBUG"> + <value> + <option name="FOREGROUND" value="ffffff"/> + <option name="BACKGROUND" value="589df6"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_INFO"> + <value> + <option name="FOREGROUND" value="000000"/> + <option name="BACKGROUND" value="629655"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_WARNING"> + <value> + <option name="FOREGROUND" value="000000"/> + <option name="BACKGROUND" value="ffc800"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_ERROR"> + <value> + <option name="FOREGROUND" value="ffffff"/> + <option name="BACKGROUND" value="ff6464"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_ASSERT"> + <value> + <option name="FOREGROUND" value="ffffff"/> + <option name="BACKGROUND" value="ff6464"/> + </value> + </option> + + <option name="LOGCAT_V2_MESSAGE_WARNING"> + <value> + <option name="FOREGROUND" value="ffc800"/> + </value> + </option> +</list> diff --git a/logcat/resources/colorSchemes/LogcatColorSchemeDefault.xml b/logcat/resources/colorSchemes/LogcatColorSchemeDefault.xml new file mode 100644 index 00000000000..2d41d760b08 --- /dev/null +++ b/logcat/resources/colorSchemes/LogcatColorSchemeDefault.xml @@ -0,0 +1,64 @@ +<!-- + ~ Copyright (C) 2021 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> +<list> + <option name="LOGCAT_V2_LEVEL_VERBOSE"> + <value> + <option name="FOREGROUND" value="ffffff"/> + <option name="BACKGROUND" value="000000"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_DEBUG"> + <value> + <option name="FOREGROUND" value="ffffff"/> + <option name="BACKGROUND" value="0000ff"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_INFO"> + <value> + <option name="FOREGROUND" value="000000"/> + <option name="BACKGROUND" value="00ff00"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_WARNING"> + <value> + <option name="FOREGROUND" value="000000"/> + <option name="BACKGROUND" value="d16900"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_ERROR"> + <value> + <option name="FOREGROUND" value="ffffff"/> + <option name="BACKGROUND" value="ff0000"/> + </value> + </option> + + <option name="LOGCAT_V2_LEVEL_ASSERT"> + <value> + <option name="FOREGROUND" value="ffffff"/> + <option name="BACKGROUND" value="ff0000"/> + </value> + </option> + + <option name="LOGCAT_V2_MESSAGE_WARNING"> + <value> + <option name="FOREGROUND" value="d16900"/> + </value> + </option> +</list> diff --git a/logcat/resources/messages/LogcatBundle.properties b/logcat/resources/messages/LogcatBundle.properties index 7c4b05122ff..6e38a1f7d30 100644 --- a/logcat/resources/messages/LogcatBundle.properties +++ b/logcat/resources/messages/LogcatBundle.properties @@ -18,10 +18,12 @@ logcat.clear.log.description=Clears Logcat buffer on the device and the log cons logcat.stacktrace.folding.hint= <{0} more...> -logcat.filter.project.apps= Project app only - logcat.settings.title= Logcat V2 logcat.settings.buffer.size=Logcat cycle buffer size: logcat.settings.buffer.kb=\ KB logcat.settings.buffer.warning.invalid=Invalid. Please enter an integer between 1 and {0} (1KB-{1}MB) logcat.settings.buffer.warning.tooLarge=Warning: large buffer size can cause performance degradation + +logcat.color.page.name=Android Logcat V2 +logcat.color.page.indicator={0} indicator +logcat.color.page.message={0} message |