Home
last modified time | relevance | path

Searched +full:- +full:- +full:log +full:- +full:cli +full:- +full:level (Results 1 – 25 of 221) sorted by relevance

123456789

/external/openthread/src/core/config/
Dlogging.h31 * This file includes compile-time configurations for the logging service.
39 * @addtogroup config-logging
51 * Selects if, and where the LOG output goes to.
54 * - @sa OPENTHREAD_CONFIG_LOG_OUTPUT_NONE
55 * - @sa OPENTHREAD_CONFIG_LOG_OUTPUT_DEBUG_UART
56 * - @sa OPENTHREAD_CONFIG_LOG_OUTPUT_APP
57 * - @sa OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED
58 * - and others
72 /** Log output goes to the bit bucket (disabled) */
74 /** Log output goes to the debug uart - requires OPENTHREAD_CONFIG_ENABLE_DEBUG_UART to be enabled …
[all …]
/external/autotest/utils/frozen_chromite/lib/
Dcros_logging.py1 # -*- coding: utf-8 -*-
3 # Use of this source code is governed by a BSD-style license that can be
9 level. This is to be used instead of the default logging module. The new
10 logging level can only be used from here.
12 The log levels should be used as follows:
14 DEBUG: Enabled on the CLI with --debug. This is the noisiest logging level.
18 INFO: Enabled on the CLI with --verbose. Logging at this level should contain
19 relatively fine-grained info about the steps the process is performing, but
22 NOTICE: The default log level. It should relay a high level overview of what
36 levels as one would expect. Limiting the output of a script to just these log
[all …]
/external/openthread/include/openthread/
Dcli.h32 * This file defines the top-level functions for the OpenThread CLI server.
49 * Represents a CLI command.
61 * @addtogroup api-cli
83 * Initialize the CLI module.
86 * @param[in] aCallback A callback method called to process CLI output.
95 * @param[in] aBuf A pointer to a null-terminated string.
113 * Write a number of bytes to the CLI console as a hex string.
122 * Write formatted string to the CLI console
131 * Write error code to the CLI console
141 * Callback to write the OpenThread Log to the CLI console
[all …]
Dlogging.h2 * Copyright (c) 2016-2018, The OpenThread Authors.
46 * @addtogroup api-logging
56 * Returns the current log level.
58 …* If dynamic log level feature `OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE` is enabled, this funct…
59 …* currently set dynamic log level. Otherwise, this function returns the build-time configured log
61 * @returns The log level.
67 * Sets the log level.
71 * @param[in] aLogLevel The log level.
73 * @retval OT_ERROR_NONE Successfully updated log level.
74 * @retval OT_ERROR_INVALID_ARGS Log level value is invalid.
[all …]
/external/python/bumble/rust/examples/
Dbattery_client.rs7 // http://www.apache.org/licenses/LICENSE-2.0
22 //! examples/device1.json android-netsim
28 //! PYTHONPATH=..:/path/to/virtualenv/site-packages/ \
29 //! cargo run --example battery_client -- \
30 //! --transport android-netsim \
31 //! --target-addr F0:F1:F2:F3:F4:F5
42 use log::info;
47 async fn main() -> PyResult<()> { in main()
49 .filter_level(log::LevelFilter::Info) in main()
52 let cli = Cli::parse(); in main() localVariable
[all …]
/external/python/mobly/mobly/
Dtest_runner.py7 # http://www.apache.org/licenses/LICENSE-2.0
43 .. code-block:: python
50 If you want to implement your own cli entry point, you could use function
54 argv: A list that is then parsed as cli args. If None, defaults to cli
91 """Parses cli args that are consumed by Mobly.
95 Multiple arg parsers can be applied to the same set of cli input. So you
100 argv: A list that is then parsed as cli args. If None, defaults to cli
109 '-c',
110 '--config',
116 '-l',
[all …]
/external/openthread/src/android/
Dopenthread-core-android-config.h37 * The platform-specific string to insert into the OpenThread version string.
40 #define OPENTHREAD_CONFIG_PLATFORM_INFO "POSIX-ANDROID"
48 #define OPENTHREAD_CONFIG_POSIX_SETTINGS_PATH "/data/misc/apexdata/com.android.tethering/ot-daemon"
56 #define OPENTHREAD_POSIX_CONFIG_DAEMON_SOCKET_BASENAME "/dev/socket/ot-daemon/%s"
148 * The maximum number of state-changed callback handlers (set using `otSetStateChangedCallback()`).
209 * The log level (used at compile time). If `OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE`
210 * is set, this defines the most verbose log level possible.
215 // The initial log level used when OpenThread is initialized.
221 * Define as 1 to enable dynamic log level control.
223 * Note that the OPENTHREAD_CONFIG_LOG_LEVEL determines the log level at
[all …]
/external/openthread/src/cli/
Dcli_config.h31 * This file includes compile-time configurations for the CLI service.
38 #include "openthread-core-config.h"
54 * The maximum size of the CLI line in bytes including the null terminator.
64 * Indicates whether TCAT should be enabled in the CLI tool.
74 * Indicates whether TCP should be enabled in the CLI tool.
84 * The number of bytes to transfer for the TCP benchmark in the CLI.
103 * The maximum number of user CLI command lists that can be registered by the interpreter.
113 * Indicates whether or not an externally provided list of cli commands is defined.
125 * Define as 1 for CLI to emit its command input string and the resulting output to the logs.
127 …* By default this is enabled on any POSIX based platform (`OPENTHREAD_POSIX`) and only when CLI it…
[all …]
Dcli.cpp31 * This file implements the CLI interpreter.
34 #include "cli.hpp"
97 namespace Cli { namespace
227 *flagsPtr++ = '-'; in LinkModeToString()
258 * @cli version in Process()
273 * @cli version api in Process()
305 * @cli reset bootloader in Process()
339 … VerifyOrExit(StringLength(aBuf, kMaxLineLength) <= kMaxLineLength - 1, error = OT_ERROR_PARSE); in ProcessLine()
384 … error = entry.mCommands[i].mCommand(entry.mContext, Arg::GetArgsLength(aArgs) - 1, args + 1); in ProcessUserCommands()
520 * @cli ba port in Process()
[all …]
/external/pigweed/docs/style/
Dcli.rst1 .. _docs-pw-style-cli:
4 CLI style
6 This guide helps ensure that command-line interface (CLI) utilities in Pigweed
10 The Pigweed CLI style guide is based on the `Command Line Interface Guidelines
15 As most Pigweed CLIs are not expected to be full-fledged user interfaces like
16 ``git`` or ``docker``---but rather a collection of smaller tools---this guide
18 The Pigweed CLI style guide only applies to utilities included in Pigweed
22 --------
24 --------
25 The following programs demonstrate conformance to Pigweed's CLI style guide rules:
[all …]
/external/openthread/src/posix/
Dmain.c29 #include "platform/openthread-posix-config.h"
55 #include <openthread/cli.h>
62 #include <openthread/cli.h>
63 #include "cli/cli_config.h"
67 #include <openthread/openthread-system.h>
95 * Initializes CLI app.
103 * Deinitializes CLI app.
127 otLogLevel mLogLevel; ///< Debug level of logging.
129 bool mIsVerbose; ///< Whether to print log to stderr.
154 {"backbone-interface-name", required_argument, NULL, OT_POSIX_OPT_BACKBONE_INTERFACE_NAME},
[all …]
/external/openthread/include/openthread/platform/
Dlogging.h32 * This file includes the platform abstraction for the debug log service.
46 * @addtogroup plat-logging
49 * This module includes the platform abstraction for the debug log service.
56 * Log level None.
58 …* @note Log Levels are defines so that embedded implementations can eliminate code at compile time…
65 * Log level Critical.
67 …* @note Log Levels are defines so that embedded implementations can eliminate code at compile time…
74 * Log level Warning.
76 …* @note Log Levels are defines so that embedded implementations can eliminate code at compile time…
83 * Log level Notice.
[all …]
/external/aws-crt-java/src/test/java/software/amazon/awssdk/crt/test/
DElasticurl.java14 import org.apache.commons.cli.CommandLine;
15 import org.apache.commons.cli.CommandLineParser;
16 import org.apache.commons.cli.DefaultParser;
17 import org.apache.commons.cli.HelpFormatter;
18 import org.apache.commons.cli.Option;
19 import org.apache.commons.cli.Options;
20 import org.apache.commons.cli.ParseException;
23 import software.amazon.awssdk.crt.Log;
24 import software.amazon.awssdk.crt.Log.LogLevel;
83 .desc("dumps content-body to FILE instead of stdout.").build()); in parseArgs()
[all …]
/external/rust/beto-rust/remoteauth/src/
Dmain.rs7 // http://www.apache.org/licenses/LICENSE-2.0
26 fn main() -> anyhow::Result<()> { in main()
28 let cli: Cli = Cli::parse(); in main() localVariable
34 match cli.subcommand { in main()
47 pub fn check_everything(root: &path::Path, check_options: &CheckOptions) -> anyhow::Result<()> { in check_everything()
55 pub fn check_workspace(root: &path::Path, options: &CheckOptions) -> anyhow::Result<()> { in check_workspace()
56 log::info!("Running cargo checks on workspace"); in check_workspace()
61 "cargo fmt --check" in check_workspace()
66 "cargo check --workspace --all-targets --quiet", in check_workspace()
67 "cargo test --workspace --quiet -- --color=always", in check_workspace()
[all …]
/external/zstd/programs/
DREADME.md4 Command Line Interface (CLI) can be created using the `make` command without any additional paramet…
5 There are however other Makefile targets that create different variations of CLI:
6 - `zstd` : default CLI supporting gzip-like arguments; includes dictionary builder, benchmark, and …
7 - `zstd_nolegacy` : Same as `zstd` but without support for legacy zstd formats
8 - `zstd-small` : CLI optimized for minimal size; no dictionary builder, no benchmark, and no suppor…
9 - `zstd-compress` : version of CLI which can only compress into zstd format
10 - `zstd-decompress` : version of CLI which can only decompress zstd format
16 - __HAVE_THREAD__ : multithreading is automatically enabled when `pthread` is detected.
23 - __ZSTD_LEGACY_SUPPORT__ : `zstd` can decompress files compressed by older versions of `zstd`.
34 - __HAVE_ZLIB__ : `zstd` can compress and decompress files in `.gz` format.
[all …]
/external/zstd/
DCHANGELOG6 lib: reduce binary size with selective built-time exclusion, by @felixhandte
11 lib: fix zdict prototype mismatch in static_only mode, by @ldv-alt
12 lib: fix several bugs in magicless-format decoding, by @embg
13 cli: add common compressed file types to `--exclude-compressed`` by @daniellerozenblit
14 cli: fix mixing `-c` and `-o` commands with `--rm`, by @Cyan4973
15 cli: fix erroneous exclusion of hidden files with `--output-dir-mirror` by @felixhandte
16 cli: improved time accuracy on BSD, by @felixhandte
17 cli: better errors on argument parsing, by @KapJI
20 …rovements by @terrelln, @sighingnow, @gjasny, @JohanMabille, @Saverio976, @gruenich, @teo-tsirpanis
22 build: fix cross-compiling for AArch64 with lld by @jcelerier
[all …]
/external/python/mobly/
DCHANGELOG.md31 * Ensure default log path exists.
41 * A logger adapter that makes it easier for modules to add their own log line prefixes
59 * `snippet_client` -> `snippet_client_v2`
60 * `snippet_event` -> `mobly.snippet.callback_event`
61 * `callback_handler` -> `callback_handler_v2`
72 * Support changing Mobly's logger level to `DEBUG` via cli arg.
103 Py2-specific workarounds and deprecated APIs are removed in this release.
104 We are also refactoring to use 2-space indentation and unit test system.
107 * Framework support for test case level `repeat` and `retry`.
143 * Better multi-user support in `AndroidDevice`.
[all …]
/external/python/cpython3/Tools/c-analyzer/cpython/
D__main__.py214 parser.add_argument('--levels', action='append', metavar='LEVEL[,...]')
215 parser.add_argument(f'--public', dest='levels',
217 parser.add_argument(f'--no-public', dest='levels',
218 action='append_const', const='no-public')
219 for level in _capi.LEVELS:
220 parser.add_argument(f'--{level}', dest='levels',
221 action='append_const', const=level)
225 for level in raw.replace(',', ' ').strip().split():
226 if level == 'public':
229 elif level == 'no-public':
[all …]
/external/rust/pica/.github/workflows/
Dbuild_and_test.yml16 runs-on: ubuntu-latest
18 - uses: actions/checkout@v3
19 - name: Install Rust 1.76.0
20 uses: actions-rs/toolchain@v1
25 - name: Set Up Python 3.11
26 uses: actions/setup-python@v4
28 python-version: 3.11
29 - name: Install
31 pip install --upgrade pip
35 - name: Build
[all …]
/external/pigweed/pw_system/
Ddocs.rst1 .. _module-pw_system:
7 This module is an early work-in-progress towards an opinionated framework for
15 configuration space required to go from first signs of on-device life to a more
16 sophisticated production-ready system.
18 --------------------
20 --------------------
23 :ref:`target documentation<target-stm32f429i-disc1-stm32cube>` for instructions
28 steps for trying this out :ref:`here<target-host-device-simulator>`.
30 --------------
32 --------------
[all …]
/external/openthread/tests/toranj/cli/
Dcli.py43 # -------------------------------------------------------------------------------------------------…
52 RADIO_15_4 = "-15.4"
53 RADIO_TREL = "-trel"
54 RADIO_15_4_TREL = "-15.4-trel"
56 # -------------------------------------------------------------------------------------------------…
67 # -------------------------------------------------------------------------------------------------…
86 # -------------------------------------------------------------------------------------------------…
91 """ An OT CLI instance """
101 # name of log file (if _SAVE_LOGS is `True`)
102 _LOG_FNAME = 'ot-logs'
[all …]
/external/pigweed/pw_presubmit/
Ddocs.rst1 .. _module-pw_presubmit:
6 .. pigweed-module::
23 existing tools like ``clang-format``, and it’s simple to add support for new
34 .. todo-check: disable
47 * Forbid non-inclusive language
52 .. todo-check: enable
54 -------------
56 -------------
59 -------------------------------------------
61 -------------------------------------------
[all …]
/external/pigweed/pw_cli/
Ddocs.rst1 .. _module-pw_cli:
6 .. pigweed-module::
9 - **Add some flair**: Build out consistent experiences with building blocks
10 for command-line utilities.
11 - **Accelerate workflows**: Create custom ``pw`` commands to streamline
14 .. pw_cli-nav-start
18 .. grid-item-card:: :octicon:`code-square` API reference
19 :link: module-pw_cli-api
20 :link-type: ref
21 :class-item: sales-pitch-cta-primary
[all …]
/external/pigweed/pw_cli/py/pw_cli/
Darguments.py7 # https://www.apache.org/licenses/LICENSE-2.0
29 _HELP_HEADER = '''The Pigweed command line interface (CLI).
33 pw --loglevel debug watch -C out
37 def parse_args() -> argparse.Namespace:
57 def option_strings(self) -> list[str]:
61 def help(self) -> str:
62 return self.parser._get_formatter()._expand_help( # pylint: disable=protected-access
67 def choices(self) -> list[str]:
71 def flag(self) -> bool:
75 def default(self) -> Any:
[all …]
/external/rust/beto-rust/nearby/src/
Dmain.rs7 // http://www.apache.org/licenses/LICENSE-2.0
30 fn main() -> anyhow::Result<()> { in main()
32 let cli: Cli = Cli::parse(); in main() localVariable
38 match cli.subcommand { in main()
44 " cargo run -- run-rust-fuzzers\n", in main()
45 " cargo run -- check-stack-usage\n", in main()
75 fn check_format(root: &path::Path, options: &FormatterOptions) -> anyhow::Result<()> { in check_format()
78 let fmt_command = if options.reformat { "cargo fmt" } else { "cargo fmt --check" }; in check_format()
83 // `google-java-format` executable. The jar file path can be overridden with the in check_format()
85 // <go/google-java-format#installation> for setup instructions for your dev environment if in check_format()
[all …]

123456789