Searched full:logging (Results 1 – 25 of 1933) sorted by relevance
12345678910>>...78
| /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 81 """Base class for logging tests.""" 88 """Setup the default logging stream to an internal StringIO instance, 92 logger_dict = logging.getLogger().manager.loggerDict 93 logging._acquireLock() 95 self.saved_handlers = logging._handlers.copy() 96 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 13 .. currentmodule:: logging 15 Using logging in multiple modules 18 Multiple calls to ``logging.getLogger('someLogger')`` return a reference to the 26 import logging 30 logger = logging.getLogger('spam_application') 31 logger.setLevel(logging.DEBUG) 33 fh = logging.FileHandler('spam.log') 34 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/grpc/tools/distrib/python/xds_protos/google/logging/v2/ |
| D | logging_metrics_pb2.py | 3 # source: google/logging/v2/logging_metrics.proto 24 …logging/v2/logging_metrics.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a\… 28 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.logging.v2.logging_metrics_pb2', _globa… 31 …logging.v2B\023LoggingMetricsProtoP\001Z5cloud.google.com/go/logging/apiv2/loggingpb;loggingpb\370… 59 …_LOGMETRIC._serialized_options = b'\352AG\n logging.googleapis.com/LogMetric\022#projects/{project… 67 …fields_by_name['metric_name']._serialized_options = b'\340A\002\372A\"\n logging.googleapis.com/Lo… 69 …ST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\"\022 logging.googleapis.com/Lo… 73 …fields_by_name['metric_name']._serialized_options = b'\340A\002\372A\"\n logging.googleapis.com/Lo… 77 …fields_by_name['metric_name']._serialized_options = b'\340A\002\372A\"\n logging.googleapis.com/Lo… 79 …logging.googleapis.com\322A\360\001https://www.googleapis.com/auth/cloud-platform,https://www.goog…
|
| D | logging_pb2.py | 3 # source: google/logging/v2/logging.proto 19 from google.logging.v2 import log_entry_pb2 as google_dot_logging_dot_v2_dot_log__entry__pb2 25 …logging/v2/logging.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17googl… 29 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.logging.v2.logging_pb2', _globals) 32 …logging.v2B\014LoggingProtoP\001Z5cloud.google.com/go/logging/apiv2/loggingpb;loggingpb\370\001\00… 34 …elds_by_name['log_name']._serialized_options = b'\340A\002\372A\034\n\032logging.googleapis.com/Lo… 38 …elds_by_name['log_name']._serialized_options = b'\340A\001\372A\034\n\032logging.googleapis.com/Lo… 52 …name['resource_names']._serialized_options = b'\340A\002\372A\034\022\032logging.googleapis.com/Lo… 66 …elds_by_name['parent']._serialized_options = b'\340A\002\372A\034\022\032logging.googleapis.com/Lo… 68 …name['resource_names']._serialized_options = b'\340A\001\372A\034\022\032logging.googleapis.com/Lo… [all …]
|
| D | log_entry_pb2.py | 3 # source: google/logging/v2/log_entry.proto 17 from google.logging.type import http_request_pb2 as google_dot_logging_dot_type_dot_http__request__… 18 from google.logging.type import log_severity_pb2 as google_dot_logging_dot_type_dot_log__severity__… 24 …logging/v2/log_entry.proto\x12\x11google.logging.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a#goo… 28 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.logging.v2.log_entry_pb2', _globals) 31 …logging.v2B\rLogEntryProtoP\001Z5cloud.google.com/go/logging/apiv2/loggingpb;loggingpb\370\001\001… 63 …_LOGENTRY._serialized_options = b'\352A\271\001\n\032logging.googleapis.com/Log\022\035projects/{p…
|
| D | logging_config_pb2.py | 3 # source: google/logging/v2/logging_config.proto 24 …logging/v2/logging_config.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x… 28 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.logging.v2.logging_config_pb2', _global… 31 …logging.v2B\022LoggingConfigProtoP\001Z5cloud.google.com/go/logging/apiv2/loggingpb;loggingpb\370\… 47 …_LOGBUCKET._serialized_options = b'\352A\241\002\n logging.googleapis.com/LogBucket\0228projects/{… 53 …_LOGVIEW._serialized_options = b'\352A\323\002\n\036logging.googleapis.com/LogView\022Eprojects/{p… 79 …_LOGSINK._serialized_options = b'\352A\273\001\n\036logging.googleapis.com/LogSink\022\037projects… 87 …_LINK._serialized_options = b'\352A\320\002\n\033logging.googleapis.com/Link\022Eprojects/{project… 93 …_LISTBUCKETSREQUEST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\"\022 logging.… 99 …ST.fields_by_name['parent']._serialized_options = b'\340A\002\372A\"\022 logging.googleapis.com/Lo… [all …]
|
| /third_party/grpc/src/python/grpcio_tests/tests/unit/ |
| D | _logging_test.py | 14 """Test of gRPC Python's interaction with the python logging module""" 16 import logging 29 import logging 33 if len(logging.getLogger().handlers) != 0: 34 raise Exception('expected 0 logging handlers') 41 import logging 50 import logging 56 logging.basicConfig(stream=intended_stream) 58 if len(logging.getLogger().handlers) != 1: 59 raise Exception('expected 1 logging handler') [all …]
|
| /third_party/grpc/tools/distrib/python/xds_protos/google/logging/type/ |
| D | log_severity_pb2.py | 3 # source: google/logging/type/log_severity.proto 16 …logging/type/log_severity.proto\x12\x13google.logging.type*\x82\x01\n\x0bLogSeverity\x12\x0b\n\x07… 20 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.logging.type.log_severity_pb2', _global… 23 …logging.typeB\020LogSeverityProtoP\001Z8google.golang.org/genproto/googleapis/logging/type;ltype\2…
|
| D | http_request_pb2.py | 3 # source: google/logging/type/http_request.proto 17 …logging/type/http_request.proto\x12\x13google.logging.type\x1a\x1egoogle/protobuf/duration.proto\"… 21 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.logging.type.http_request_pb2', _global… 24 …logging.typeB\020HttpRequestProtoP\001Z8google.golang.org/genproto/googleapis/logging/type;ltype\2…
|
| /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/mbedtls/scripts/mbedtls_dev/ |
| D | logging_util.py | 1 """Auxiliary functions used for logging module. 8 import logging 12 logger: logging.Logger, 14 split_level=logging.WARNING 17 Configure the logging.Logger instance so that: 22 Default: logging.WARNING 24 class MaxLevelFilter(logging.Filter): 30 def filter(self, record: logging.LogRecord) -> bool: 33 log_formatter = logging.Formatter(log_format) 36 stderr_hdlr = logging.StreamHandler(sys.stderr) [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/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 …]
|
| /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 47 # reconfiguration of logging. 54 Read the logging configuration from a ConfigParser-format file. 85 logging._acquireLock() 89 # Handlers add themselves to logging._handlers 93 logging._releaseLock() 126 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/libcoap/man/ |
| D | coap_logging.txt.in | 39 - Work with CoAP logging 105 The logging sub-system supports logging at different levels, and depending on 106 the selected logging level, outputs the appropriate information. 108 Logging by default is to stderr or stdout depending on the logging level of 109 the log entry. It ia possible to send the logging information to an 110 application logging callback handler for processing by the application. 112 Logging levels (*coap_log_t*) are defined as follows (based on the *syslog*() 144 *NOTE:* The maximum logging level in the libcoap library may have been updated 145 by the use of './configure --enable-max-logging-level=X' (where X is 0 to 8 inclusive) 146 which may disable some of the higher logging levels to save code space. [all …]
|
| /third_party/grpc/tools/run_tests/python_utils/ |
| D | start_port_server.py | 17 import logging 45 logging.info("detected port server running version %d", version) 49 logging.exception("failed to detect port server") 63 logging.info("my port server is version %d", current_version) 66 logging.info("port_server version mismatch: killing the old one") 74 logging.info("starting port_server, with log file %s", logfile) 111 logging.warning( 116 logging.error("port_server failed to start") 123 logging.info( 128 logging.exception( [all …]
|
| /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/rust/crates/env_logger/src/ |
| D | lib.rs | 8 //! with the logging facade exposed by the [`log` crate][log-crate-url]. 61 //! And enable all logging: 86 //! ## Enabling logging 88 //! **By default all logging is disabled except for the `error` level** 90 //! The **`RUST_LOG`** environment variable controls logging with the syntax: 118 //! log level is optional. If omitted, all logging for the item will be 127 //! - `off` (pseudo level to disable all logging for the target) 129 //! Logging level names are case-insensitive; e.g., 130 //! `debug`, `DEBUG`, and `dEbuG` all represent the same logging level. For 137 //! - `RUST_LOG=hello` turns on all logging for the `hello` module [all …]
|
| /third_party/grpc/src/ruby/spec/ |
| D | spec_helper.rb | 32 require 'logging' 41 # Configure its logging for fine-grained log control during test runs 43 extend Logging.globally 45 Logging.logger.root.appenders = Logging.appenders.stdout 46 Logging.logger.root.level = :info 47 Logging.logger['GRPC'].level = :info 48 Logging.logger['GRPC::ActiveCall'].level = :info 49 Logging.logger['GRPC::BidiCall'].level = :info
|
| /third_party/libevdev/doc/html/ |
| D | group__logging.html | 11 <title>libevdev: Library logging facilities</title> 83 <div class="headertitle"><div class="title">Library logging facilities</div></div> 87 <p>libevdev provides two methods of logging library-internal messages. 93 …lass="mdescLeft"> </td><td class="mdescRight">Logging function called by library-internal log… 96 …lass="mdescLeft"> </td><td class="mdescRight">Logging function called by library-internal log… 110 …> </td><td class="mdescRight">Set a printf-style logging handler for library-internal logging… 119 …> </td><td class="mdescRight">Set a printf-style logging handler for library-internal logging… 123 <p>libevdev provides two methods of logging library-internal messages. </p> 124 …logging handler for library-internal logging.">libevdev_set_log_function()</a>. The new method is … 142 <p>Logging function called by library-internal logging for a specific libevdev context. </p> [all …]
|
| /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)
|
12345678910>>...78