Searched full:logging (Results 1 – 25 of 1962) sorted by relevance
12345678910>>...79
| /third_party/python/Lib/test/ |
| D | test_logging.py | 17 """Test harness for the logging module. Run all tests. 22 import logging 23 import logging.handlers 24 import logging.config 80 """Base class for logging tests.""" 87 """Setup the default logging stream to an internal StringIO instance, 91 logger_dict = logging.getLogger().manager.loggerDict 92 logging._acquireLock() 94 self.saved_handlers = logging._handlers.copy() 95 self.saved_handler_list = logging._handlerList[:] [all …]
|
| /third_party/python/Doc/howto/ |
| D | logging-cookbook.rst | 4 Logging Cookbook 9 This page contains a number of recipes related to logging, which have been found 12 .. currentmodule:: logging 14 Using logging in multiple modules 17 Multiple calls to ``logging.getLogger('someLogger')`` return a reference to the 25 import logging 29 logger = logging.getLogger('spam_application') 30 logger.setLevel(logging.DEBUG) 32 fh = logging.FileHandler('spam.log') 33 fh.setLevel(logging.DEBUG) [all …]
|
| D | logging.rst | 2 Logging HOWTO 9 .. currentmodule:: logging 11 Basic Logging Tutorial 14 Logging is a means of tracking events that happen when some software runs. The 15 software's developer adds logging calls to their code to indicate that certain 22 When to use logging 25 Logging provides a set of convenience functions for simple logging usage. These 27 :func:`critical`. To determine when to use logging, see the table below, which 37 | Report events that occur during | :func:`logging.info` (or | 38 | normal operation of a program (e.g. | :func:`logging.debug` for very | [all …]
|
| /third_party/libcoap/man/ |
| D | coap_logging.txt.in | 24 - Work with CoAP logging 62 The logging sub-system supports logging at different levels, and depending on 63 the selected logging level, outputs the appropriate information. 65 Logging by default is to stderr or stdout depending on the logging level of 66 the log entry. It ia possible to send the logging information to an 67 application logging callback handler for processing by the application. 72 Logging levels (*coap_log_t*) are defined by (the same as for *syslog*()), which 99 The *coap_set_log_level*() function is used to set the current logging _level_ 101 *coap_log*() _level_ definition is smaller than or equal to the current logging 104 The *coap_get_log_level*() function is used to get the current logging level. [all …]
|
| /third_party/python/PC/layout/support/ |
| D | logging.py | 2 Logging support for make_layout. 8 import logging 28 LOG = logging.getLogger("make_layout") 29 LOG.level = logging.DEBUG 32 s_level = max(logging.ERROR - ns.v * 10, logging.DEBUG) 33 f_level = max(logging.WARNING - ns.v * 10, logging.DEBUG) 35 s_level = logging.ERROR 36 f_level = logging.INFO 38 handler = logging.StreamHandler(sys.stdout) 39 handler.setFormatter(logging.Formatter("{levelname:8s} {message}", style="{")) [all …]
|
| /third_party/ntfs-3g/libntfs-3g/ |
| D | logging.c | 2 * logging.c - Centralised logging. Originated from the Linux-NTFS project. 47 #include "logging.h" 66 * struct ntfs_logging - Control info for the logging system 67 * @levels: Bitfield of logging levels 69 * @handler: Function to perform the actual logging 79 * This struct controls all the logging within the library and tools. 99 * ntfs_log_get_levels - Get a list of the current logging levels 101 * Find out which logging levels are enabled. 111 * ntfs_log_set_levels - Enable extra logging levels 114 * Enable one or more logging levels. [all …]
|
| /third_party/python/Doc/library/ |
| D | logging.config.rst | 1 :mod:`logging.config` --- Logging configuration 4 .. module:: logging.config 5 :synopsis: Configuration of the logging module. 10 **Source code:** :source:`Lib/logging/config.py` 17 * :ref:`Basic Tutorial <logging-basic-tutorial>` 18 * :ref:`Advanced Tutorial <logging-advanced-tutorial>` 19 * :ref:`Logging Cookbook <logging-cookbook>` 23 This section describes the API for configuring the logging module. 30 The following functions configure the logging module. They are located in the 31 :mod:`logging.config` module. Their use is optional --- you can configure the [all …]
|
| D | logging.rst | 1 :mod:`logging` --- Logging facility for Python 4 .. module:: logging 5 :synopsis: Flexible event logging system for applications. 10 **Source code:** :source:`Lib/logging/__init__.py` 12 .. index:: pair: Errors; logging 19 * :ref:`Basic Tutorial <logging-basic-tutorial>` 20 * :ref:`Advanced Tutorial <logging-advanced-tutorial>` 21 * :ref:`Logging Cookbook <logging-cookbook>` 26 logging system for applications and libraries. 28 The key benefit of having the logging API provided by a standard library module [all …]
|
| D | logging.handlers.rst | 1 :mod:`logging.handlers` --- Logging handlers 4 .. module:: logging.handlers 5 :synopsis: Handlers for the logging module. 10 **Source code:** :source:`Lib/logging/handlers.py` 17 * :ref:`Basic Tutorial <logging-basic-tutorial>` 18 * :ref:`Advanced Tutorial <logging-advanced-tutorial>` 19 * :ref:`Logging Cookbook <logging-cookbook>` 23 .. currentmodule:: logging 27 :class:`NullHandler`) are actually defined in the :mod:`logging` module itself, 35 The :class:`StreamHandler` class, located in the core :mod:`logging` package, [all …]
|
| /third_party/skia/third_party/externals/abseil-cpp/ |
| D | roll_abseil.py | 6 import logging 16 logging.info('Updating abseil...') 21 logging.info('Updating chromium...') 28 logging.info('Updating ' + readme_filename) 44 logging.info('Abseil old revision is ' + old_revision) 45 logging.info('Abseil new revision is ' + new_revision) 50 logging.info('Syncing abseil in chromium/src/third_party...') 74 logging.info('Patching abseil...') 83 logging.info('Commit...') 95 logging.info('Upload...') [all …]
|
| /third_party/python/Lib/logging/ |
| D | config.py | 18 Configuration functions for the logging package for Python. The core package 24 To use, simply 'import logging' and log away! 29 import logging 30 import logging.handlers 46 # reconfiguration of logging. 53 Read the logging configuration from a ConfigParser-format file. 75 logging._acquireLock() 79 # Handlers add themselves to logging._handlers 83 logging._releaseLock() 116 c = logging.Formatter [all …]
|
| /third_party/python/Lib/unittest/ |
| D | _log.py | 1 import logging 10 class _CapturingHandler(logging.Handler): 12 A logging handler capturing all (raw and formatted) logging output. 16 logging.Handler.__init__(self) 37 self.level = logging._nameToLevel.get(level, level) 39 self.level = logging.INFO 44 if isinstance(self.logger_name, logging.Logger): 47 logger = self.logger = logging.getLogger(self.logger_name) 48 formatter = logging.Formatter(self.LOGGING_FORMAT) 86 .format(logging.getLevelName(self.level), self.logger.name))
|
| /third_party/python/Tools/c-analyzer/c_common/ |
| D | logging.py | 1 import logging 9 _logger = logging.getLogger(__name__.rpartition('.')[0]) 14 maxlevel=logging.CRITICAL, 24 handler = logging.FileHandler(logfile) 26 handler = logging.StreamHandler(sys.stdout) 28 #handler.setFormatter(logging.Formatter()) 49 orig = logging.raiseExceptions 50 logging.raiseExceptions = False 52 logging.raiseExceptions = orig
|
| /third_party/libevdev/doc/html/ |
| D | group__logging.html | 11 <title>libevdev: Library logging facilities</title> 76 <div class="title">Library logging facilities</div> </div> 80 <p>libevdev provides two methods of logging library-internal messages. 86 …lass="mdescLeft"> </td><td class="mdescRight">Logging function called by library-internal log… 89 …lass="mdescLeft"> </td><td class="mdescRight">Logging function called by library-internal log… 103 …> </td><td class="mdescRight">Set a printf-style logging handler for library-internal logging… 112 …> </td><td class="mdescRight">Set a printf-style logging handler for library-internal logging… 116 <p>libevdev provides two methods of logging library-internal messages. </p> 117 …logging handler for library-internal logging.">libevdev_set_log_function()</a>. The new method is … 135 <p>Logging function called by library-internal logging for a specific libevdev context. </p> [all …]
|
| /third_party/cef/include/base/ |
| D | cef_logging.h | 36 // WARNING: Logging macros should not be used in the main/browser process before 42 // Make a bunch of macros for logging. The way to log things is to stream 47 // You can also do conditional logging: 55 // There are also "debug mode" logging macros like the ones above: 61 // All "debug mode" logging is compiled away to nothing for non-debug mode 72 // There are "verbose level" logging macros. They look like 78 // The verbose logging can also be turned on module-by-module. For instance, 93 // E.g., "*/foo/bar/*=2" would change the logging level for all code 99 // // do some logging preparation and logging 128 // Very important: logging a message at the FATAL severity level causes [all …]
|
| /third_party/flutter/skia/third_party/externals/angle2/scripts/ |
| D | gen_angle_gn_info_json.py | 27 import logging 36 logging.error("e.retcode = %s" % e.returncode) 37 logging.error("e.cmd = %s" % e.cmd) 38 logging.error("e.output = %s" % e.output) 62 logging.debug("dep: %s%s" % (indent, dep)) 67 logging.debug("dup: %s%s" % (indent, dep)) 73 logging.debug("targets = %s" % targets) 76 logging.debug("target: %s" % (target)) 82 logging.debug("Invalid target: %s" % target) 87 logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)
|
| /third_party/skia/third_party/externals/angle2/scripts/ |
| D | gen_angle_gn_info_json.py | 27 import logging 36 logging.error("e.retcode = %s" % e.returncode) 37 logging.error("e.cmd = %s" % e.cmd) 38 logging.error("e.output = %s" % e.output) 62 logging.debug("dep: %s%s" % (indent, dep)) 67 logging.debug("dup: %s%s" % (indent, dep)) 73 logging.debug("targets = %s" % targets) 76 logging.debug("target: %s" % (target)) 82 logging.debug("Invalid target: %s" % target) 87 logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)
|
| D | update_extension_data.py | 11 import logging 63 logging.debug(' '.join(args)) 89 logging.debug(' '.join(swarming_args)) 120 logging.info('Found task with ID: %s, %s' % 131 logging.warning('Multiple candidates found for %s' % target_file_name) 134 logging.info('%s -> %s' % (fname, target_file)) 154 logging.basicConfig(level=LOG_LEVELS[args.verbose]) 164 logging.info('%s: build id %s' % (builder, build_id)) 170 logging.info('Found swarm hash: %s' % test_suite_hash) 186 logging.debug(bot_dim['value']) [all …]
|
| /third_party/gn/src/base/ |
| D | logging.h | 33 // process from the main application. When the logging system needs to display 43 // If DebugMessage.exe is not found, the logging code will use a normal 49 // Make a bunch of macros for logging. The way to log things is to stream 54 // You can also do conditional logging: 62 // There are also "debug mode" logging macros like the ones above: 68 // All "debug mode" logging is compiled away to nothing for non-debug mode 96 // Very important: logging a message at the FATAL severity level causes 102 namespace logging { 135 #define ANALYZER_ASSUME_TRUE(arg) logging::AnalyzerAssumeTrue(!!(arg)) 137 static_cast<void>(::logging::AnalyzerNoReturn()) [all …]
|
| /third_party/skia/third_party/externals/angle2/src/tests/ |
| D | run_perf_tests.py | 15 import logging 92 logging.debug(' '.join(cmd)) 121 logging.debug('Searching for %s in output' % pattern) 124 logging.warning('Did not find the result "%s" in the test output:\n%s' % (result, output)) 134 logging.debug('Read %d lines from test output.' % len(lines)) 145 logging.debug('Found %d tests from test output.' % len(tests)) 192 logging.info('Saving perf histograms to %s.' % perf_output_path) 235 logging.info('Saving test results to %s.' % fname) 301 importlib.reload(logging) 302 logging.basicConfig(level=args.log.upper()) [all …]
|
| /third_party/freetype/src/dlg/ |
| D | rules.mk | 2 # FreeType 2 dlg logging library configuration rules 16 # dlg logging library directory 29 # dlg logging library sources (i.e., C files) 33 # dlg logging library headers 39 # dlg logging library object(s) 47 # dlg logging library source file for single build 52 # dlg logging library - single object 58 # dlg logging library - multiple objects
|
| /third_party/skia/third_party/externals/freetype/src/dlg/ |
| D | rules.mk | 2 # FreeType 2 dlg logging library configuration rules 16 # dlg logging library directory 29 # dlg logging library sources (i.e., C files) 33 # dlg logging library headers 39 # dlg logging library object(s) 47 # dlg logging library source file for single build 52 # dlg logging library - single object 58 # dlg logging library - multiple objects
|
| /third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
| D | sync_restricted_traces_to_cipd.py | 14 import logging 29 logging.debug('running cipd with args: %s', ' '.join(args)) 33 logging.debug('cipd stdout:\n%s' % completed.stdout) 45 logging.debug('Skipping %s because it does not match the test filter.' % trace) 57 logging.info('%s version %s already present' % (trace, trace_version)) 60 logging.info('%s version %s missing. calling create.' % (trace, trace_version)) 64 logging.error('%s version %s create failed' % (trace, trace_version)) 75 '-l', '--log', help='Logging level. Default: %s' % LOG_LEVEL, default=LOG_LEVEL) 80 logging.basicConfig(level=args.log.upper())
|
| /third_party/libphonenumber/java/demo/war/WEB-INF/ |
| D | logging.properties | 1 # A default java.util.logging configuration. 2 # (All App Engine logging is through java.util.logging by default). 8 # <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/> 12 # Set the default logging level for all loggers to WARNING
|
| /third_party/libphonenumber/tools/java/data/webapp/WEB-INF/ |
| D | logging.properties | 1 # A default java.util.logging configuration. 2 # (All App Engine logging is through java.util.logging by default). 8 # <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/> 12 # Set the default logging level for all loggers to WARNING
|
12345678910>>...79