Home
last modified time | relevance | path

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

12345678910>>...43

/third_party/libabigail/tests/data/test-abidiff-exit/test-PR30034/reference/include/
Drte_log.h1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2017 Intel Corporation
13 * This file provides a log API to RTE applications.
28 /* SDK log type */
29 #define RTE_LOGTYPE_EAL 0 /**< Log related to eal. */
30 #define RTE_LOGTYPE_MALLOC 1 /**< Log related to malloc. */
31 #define RTE_LOGTYPE_RING 2 /**< Log related to ring. */
32 #define RTE_LOGTYPE_MEMPOOL 3 /**< Log related to mempool. */
33 #define RTE_LOGTYPE_TIMER 4 /**< Log related to timers. */
34 #define RTE_LOGTYPE_PMD 5 /**< Log related to poll mode driver. */
[all …]
/third_party/libabigail/tests/data/test-abidiff-exit/test-PR30034/split/include/
Drte_log.h1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2017 Intel Corporation
13 * This file provides a log API to RTE applications.
28 /* SDK log type */
29 #define RTE_LOGTYPE_EAL 0 /**< Log related to eal. */
30 #define RTE_LOGTYPE_MALLOC 1 /**< Log related to malloc. */
31 #define RTE_LOGTYPE_RING 2 /**< Log related to ring. */
32 #define RTE_LOGTYPE_MEMPOOL 3 /**< Log related to mempool. */
33 #define RTE_LOGTYPE_TIMER 4 /**< Log related to timers. */
34 #define RTE_LOGTYPE_PMD 5 /**< Log related to poll mode driver. */
[all …]
/third_party/rust/crates/log/src/
Dlib.rs2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
13 //! The `log` crate provides a single logging API that abstracts over the
19 //! implementation that ignores all log messages. The overhead in this case
20 //! is very small - just an integer load, comparison and jump.
22 //! A log request consists of a _target_, a _level_, and a _body_. A target is a
23 //! string which defaults to the module path of the location of the log request,
[all …]
Dmacros.rs1 // Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
13 /// This macro will generically log with the specified `Level` and `format!`
19 /// use log::{log, Level};
22 /// let data = (42, "Forty-two");
25 /// log!(Level::Error, "Received errors: {}, {}", data.0, data.1);
[all …]
/third_party/ntfs-3g/libntfs-3g/
Dlogging.c2 * logging.c - Centralised logging. Originated from the Linux-NTFS project.
5 * Copyright (c) 2005-2008 Szabolcs Szakacsits
6 * Copyright (c) 2010 Jean-Pierre Andre
19 * along with this program (in the main directory of the NTFS-3G
21 * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
66 * struct ntfs_logging - Control info for the logging system
99 * ntfs_log_get_levels - Get a list of the current logging levels
103 * Returns: Log levels in a 32-bit field
111 * ntfs_log_set_levels - Enable extra logging levels
112 * @levels: 32-bit field of log levels to set
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/
Dlog.py7 # http://www.apache.org/licenses/LICENSE-2.0
16 log module
50 # The default log level
53 # Log level name and level mapping
62 # GLog level and level name
72 _confmap_dict = {'level': 'GLOG_v', 'console': 'GLOG_logtostderr', 'filepath': 'GLOG_log_dir',
82 and setting permission of Log file"""
90 # Modify the permission of Log file
95 """Log formatter"""
110 Override formatTime for uniform format %Y-%m-%d-%H:%M:%S.SSS.SSS
[all …]
/third_party/rust/crates/env_logger/
DREADME.md5 [![Documentation](https://img.shields.io/badge/docs-main-blue.svg)](https://env-logger-rs.github.io…
13 …ed in executables (binary projects). Libraries should use the [`log`](https://docs.rs/log) crate i…
17 It must be added along with `log` to the project dependencies:
21 log = "0.4.0"
25 …early as possible in the project. After it's initialized, you can use the `log` macros to do actua…
29 extern crate log;
41 environment variable that corresponds with the log messages you want to show.
45 [2018-11-03T06:09:06Z INFO default] starting up
48 The letter case is not significant for the logging level names; e.g., `debug`,
49 `DEBUG`, and `dEbuG` all represent the same logging level. Therefore, the
[all …]
/third_party/jerryscript/jerry-port/default/
Ddefault-io.c7 * http://www.apache.org/licenses/LICENSE-2.0
20 #include "jerryscript-port.h"
21 #include "jerryscript-port-default.h"
22 #include "jerryscript-debugger.h"
27 * Actual log level
34 * Get the log level
36 * @return current log level
49 * Set the log level
56 jerry_port_default_set_log_level (jerry_log_level_t level) /**< log level */ in jerry_port_default_set_log_level() argument
58 jerry_port_default_log_level = level; in jerry_port_default_set_log_level()
[all …]
/third_party/rust/crates/log/tests/
Dmacros.rs3 extern crate log;
17 for lvl in log::Level::iter() { in no_args()
18 log!(lvl, "hello"); in no_args()
19 log!(lvl, "hello",); in no_args()
21 log!(target: "my_target", lvl, "hello"); in no_args()
22 log!(target: "my_target", lvl, "hello",); in no_args()
24 log!(lvl, "hello"); in no_args()
25 log!(lvl, "hello",); in no_args()
37 for lvl in log::Level::iter() { in anonymous_args()
38 log!(lvl, "hello {}", "world"); in anonymous_args()
[all …]
Dfilters.rs5 extern crate log;
7 use log::{Level, LevelFilter, Log, Metadata, Record};
11 use log::set_boxed_logger;
14 fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), log::SetLoggerError> { in set_boxed_logger()
15 log::set_logger(Box::leak(logger)) in set_boxed_logger()
19 last_log: Mutex<Option<Level>>,
24 impl Log for Logger {
25 fn enabled(&self, _: &Metadata) -> bool { in enabled()
29 fn log(&self, record: &Record) { in log() method
30 *self.0.last_log.lock().unwrap() = Some(record.level()); in log()
[all …]
/third_party/mesa3d/include/android_stub/android/
Dlog.h8 * http://www.apache.org/licenses/LICENSE-2.0
27 * Support routines to send messages to the Android log buffer,
30 * Each log message must have
31 * - a priority
32 * - a log tag
33 * - some text
35 * The tag normally corresponds to the component that emits the log message,
38 * Log message text may be truncated to less than an implementation-specific
42 * log message, if not already there. It is not possible to send several
47 * - Sending log messages eats CPU and slow down your application and the
[all …]
/third_party/python/Doc/howto/
Dlogging-cookbook.rst1 .. _logging-cookbook:
7 :Author: Vinay Sajip <vinay_sajip at red-dove dot com>
11 :ref:`cookbook-ref-links`.
16 ---------------------------------
33 fh = logging.FileHandler('spam.log')
35 # create console handler with a higher log level
39 formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
78 .. code-block:: none
80 2005-03-23 23:47:11,663 - spam_application - INFO -
82 2005-03-23 23:47:11,665 - spam_application.auxiliary.Auxiliary - INFO -
[all …]
Dlogging.rst5 :Author: Vinay Sajip <vinay_sajip at red-dove dot com>
7 .. _logging-basic-tutorial:
12 ----------------------
19 developer ascribes to the event; the importance can also be called the *level*
30 +-------------------------------------+--------------------------------------+
36 +-------------------------------------+--------------------------------------+
41 +-------------------------------------+--------------------------------------+
51 +-------------------------------------+--------------------------------------+
54 +-------------------------------------+--------------------------------------+
57 | error handler in a long-running | :func:`logging.critical` as |
[all …]
/third_party/rust/crates/env_logger/src/filter/
Dmod.rs1 //! Filtering for log records.
3 //! This module contains the log filtering used by `env_logger` to match records.
13 //! logged based on the parsed filters when log records are received.
16 //! extern crate log;
19 //! use log::{Log, Metadata, Record};
26 //! fn new() -> MyLogger {
41 //! impl Log for MyLogger {
42 //! fn enabled(&self, metadata: &Metadata) -> bool {
46 //! fn log(&self, record: &Record) {
57 //! [Enabling Logging]: ../index.html#enabling-logging
[all …]
/third_party/rust/crates/log/test_max_level_features/
Dmain.rs2 extern crate log;
5 use log::{Level, LevelFilter, Log, Record, Metadata};
8 use log::set_boxed_logger;
10 fn set_boxed_logger(logger: Box<Log>) -> Result<(), log::SetLoggerError> { in set_boxed_logger()
11 log::set_logger(Box::leak(logger)) in set_boxed_logger()
15 last_log: Mutex<Option<Level>>,
20 impl Log for Logger {
21 fn enabled(&self, _: &Metadata) -> bool { in enabled()
25 fn log(&self, record: &Record) { in log() method
26 *self.0.last_log.lock().unwrap() = Some(record.level()); in log()
[all …]
/third_party/libwebsockets/READMEs/
DREADME.logging.md12 or custom log emission is possible if you point it to your own.
14 Currently the following log levels are defined
17 |---|---|---|---|
31 The first four log levels are built into lws even on Release builds, the others
34 You can select between Debug and Release builds using cmake `-DCMAKE_BUILD_TYPE=`
38 see emitted, only log levels that were built in can be enabled since the code for them
41 ## Finegrained control of log level build
43 You can deviate from the default log inclusion for release / debug by overriding it
46 For example you can set `-DLWS_LOGGING_BITFIELD_SET="LLL_INFO|LLL_DEBUG"`, which will
47 cause those log level traces to be built in even in Release mode. Clear works
[all …]
/third_party/libfuse/include/
Dfuse_log.h24 * Log severity level
26 * These levels correspond to syslog(2) log levels since they are widely used.
40 * Log message handler function.
42 * This function must be thread-safe. It may be called from any libfuse
46 * Install a custom log message handler function using fuse_set_log_func().
48 * @param level log severity level
49 * @param fmt sprintf-style format string including newline
52 typedef void (*fuse_log_func_t)(enum fuse_log_level level,
56 * Install a custom log handler function.
58 * Log messages are emitted by libfuse functions to report errors and debug
[all …]
/third_party/rust/crates/env_logger/src/
Dlib.rs1 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
2 // https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
8 //! with the logging facade exposed by the [`log` crate][log-crate-url].
11 //! other means besides environment variables. See [the examples][gh-repo-examples]
20 //! use log::{debug, error, log_enabled, info, Level};
27 //! if log_enabled!(Level::Info) {
37 //! [2017-11-09T02:12:24Z ERROR main] this is printed by default
42 //! [2017-11-09T02:12:24Z ERROR main] this is printed by default
43 //! [2017-11-09T02:12:24Z INFO main] the answer was: 12
[all …]
/third_party/python/Lib/logging/
D__init__.py1 # Copyright 2001-2019 by Vinay Sajip. All Rights Reserved.
21 Copyright (C) 2001-2019 Vinay Sajip. All Rights Reserved.
23 To use, simply 'import logging' and log away!
39 'info', 'log', 'makeLogRecord', 'setLoggerClass', 'shutdown',
45 __author__ = "Vinay Sajip <vinay_sajip@red-dove.com>"
51 #---------------------------------------------------------------------------
53 #---------------------------------------------------------------------------
67 # If you don't want threading information in the log, set this to zero
72 # If you don't want multiprocessing information in the log, set this to zero
77 # If you don't want process information in the log, set this to zero
[all …]
/third_party/cups/
Dohos-hilog-print.patch1 diff --git a/scheduler/hilog-helper.c b/scheduler/hilog-helper.c
4 --- /dev/null
5 +++ b/scheduler/hilog-helper.c
6 @@ -0,0 +1,29 @@
13 + * http://www.apache.org/licenses/LICENSE-2.0
22 +#include "hilog-helper.h"
27 +void hilogPrint(int level, const char *message)
36 diff --git a/scheduler/hilog-helper.h b/scheduler/hilog-helper.h
39 --- /dev/null
40 +++ b/scheduler/hilog-helper.h
[all …]
/third_party/rust/crates/clap/examples/
Dtyped-derive.md5 $ typed-derive --help
6 Usage: typed-derive[EXE] [OPTIONS]
9 -O <OPTIMIZATION> Implicitly using `std::str::FromStr`
10 -I <DIR> Allow invalid UTF-8 paths
11 --bind <BIND> Handle IP addresses
12 --sleep <SLEEP> Allow human-readable durations
13 -D <DEFINES> Hand-written parser for tuples
14 --port <PORT> Support for discrete numbers [default: 22] [possible values: 22, 80]
15--log-level <LOG_LEVEL> Support enums from a foreign crate that don't implement `ValueEnum` [defa…
16 -h, --help Print help
[all …]
/third_party/ffmpeg/libavutil/
Dlog.h18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
129 * Return next AVOptions-enabled child or NULL
134 * Iterate over the AVClasses corresponding to potential AVOptions-enabled
139 * @return AVClass for the next AVOptions-enabled child or NULL if there are
162 #define AV_LOG_QUIET -8
184 * lead to problems. An example would be the use of '-vstrict -2'.
208 #define AV_LOG_MAX_OFFSET (AV_LOG_TRACE - AV_LOG_QUIET)
225 * Send the specified message to the log if the level is less than or equal
232 * pointer to an AVClass struct or NULL if general log.
233 * @param level The importance level of the message expressed using a @ref
[all …]
/third_party/mindspore/mindspore-src/source/tests/st/debugger/
Dtest_vlog.py7 # http://www.apache.org/licenses/LICENSE-2.0
27 cmd = f"VLOG_v={vlog_v} python -c 'import mindspore as ms'"
29 out = s.stdout.read().decode("UTF-8")
62 check_output('(1,2147483647)', ': log level for printing vlog tags already been used')
63 check_output('(,2147483647)', ': log level for printing vlog tags already been used')
64 check_output('(1,)', ': log level for printing vlog tags already been used')
65 check_output('20000', ': log level for printing vlog tags already been used')
68 check_output('(5,3)', ': log level for printing vlog tags already been used', False)
69 check_output('(,20)', ': log level for printing vlog tags already been used', False)
70 check_output('(20001,)', ': log level for printing vlog tags already been used', False)
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/
Dtest_log.py7 # http://www.apache.org/licenses/LICENSE-2.0
16 log test
30 from mindspore import log as logger
32 logger.debug("test log message debug:%s", log_str)
33 logger.info("test log message info :%s", log_str)
34 logger.warning("test log message warning :%s", log_str)
35 logger.error("test log message error :%s", log_str)
36 logger.critical("test log message critical :%s", log_str)
43 from mindspore import log as logger
54 from mindspore import log as logger
[all …]
/third_party/rust/crates/env_logger/src/fmt/
Dmod.rs1 //! Formatting for log records.
3 //! This module contains a [`Formatter`] that can be used to format log records
8 //! # Formatting log records
10 //! The format used to print log records can be customised using the [`Builder::format`]
22 //! record.level(),
30 //! [`Write`]: https://doc.rust-lang.org/stable/std/io/trait.Write.html
38 use log::Record;
71 fn default() -> Self { in default()
78 /// `Formatter` implements the standard [`Write`] trait for writing log records.
83 /// Use the [`writeln`] macro to format a log record.
[all …]

12345678910>>...43