Home
last modified time | relevance | path

Searched full:logging (Results 1 – 25 of 9701) sorted by relevance

12345678910>>...389

/external/googleapis/google/logging/v2/
Dlogging_v2.yaml3 name: logging.googleapis.com
4 title: Cloud Logging API
7 - name: google.logging.v2.ConfigServiceV2
8 - name: google.logging.v2.LoggingServiceV2
9 - name: google.logging.v2.MetricsServiceV2
13 - name: google.logging.v2.BucketMetadata
14 - name: google.logging.v2.CopyLogEntriesMetadata
15 - name: google.logging.v2.CopyLogEntriesResponse
16 - name: google.logging.v2.LinkMetadata
17 - name: google.logging.v2.LocationMetadata
[all …]
/external/sdk-platform-java/gapic-generator-java/src/test/resources/
Dlogging.yaml3 name: logging.googleapis.com
4 title: Cloud Logging API
7 - name: google.logging.v2.ConfigServiceV2
8 - name: google.logging.v2.LoggingServiceV2
9 - name: google.logging.v2.MetricsServiceV2
13 Writes log entries and manages your Cloud Logging configuration. The table
16 documentation at https://cloud.google.com/logging/docs.
19 The Cloud Logging service.'
23 - selector: 'google.logging.v2.ConfigServiceV2.*'
25 - selector: 'google.logging.v2.LoggingServiceV2.*'
[all …]
/external/python/absl-py/absl/logging/tests/
Dlogging_test.py15 """Unit tests for absl.logging."""
21 import logging as std_logging
34 from absl import logging
43 """Tests the initial logging configuration."""
47 self.assertIs(absl_logger, logging.get_absl_logger())
48 self.assertIsInstance(absl_logger, logging.ABSLLogger)
50 logging.get_absl_handler().python_handler.formatter,
51 logging.PythonFormatter)
96 # Other tests change the root logging level, so we can't
136 self.python_handler = logging.PythonHandler()
[all …]
Dconverter_test.py17 import logging
19 from absl import logging as absl_logging
20 from absl.logging import converter
39 logging.DEBUG, converter.absl_to_standard(absl_logging.DEBUG))
41 logging.INFO, converter.absl_to_standard(absl_logging.INFO))
43 logging.WARNING, converter.absl_to_standard(absl_logging.WARN))
45 logging.WARN, converter.absl_to_standard(absl_logging.WARN))
47 logging.ERROR, converter.absl_to_standard(absl_logging.ERROR))
49 logging.FATAL, converter.absl_to_standard(absl_logging.FATAL))
51 logging.CRITICAL, converter.absl_to_standard(absl_logging.FATAL))
[all …]
Dlogging_functional_test_helper.py17 import logging as std_logging
18 import logging.config as std_logging_config
28 from absl import logging
46 logging.vlog(3, 'This line is VLOG level 3')
47 logging.vlog(2, 'This line is VLOG level 2')
48 logging.log(2, 'This line is log level 2')
49 if logging.vlog_is_on(2):
50 logging.log(1, 'VLOG level 1, but only if VLOG level 2 is active')
52 logging.vlog(1, 'This line is VLOG level 1')
53 logging.log(1, 'This line is log level 1')
[all …]
Dverbosity_flag_test.py15 """Tests -v/--verbosity flag and logging.root level's sync behavior."""
17 import logging
19 assert logging.root.getEffectiveLevel() == logging.WARN, (
20 'default logging.root level should be WARN, but found {}'.format(
21 logging.root.getEffectiveLevel()))
23 # This is here to test importing logging won't change the level.
24 logging.root.setLevel(logging.ERROR)
26 assert logging.root.getEffectiveLevel() == logging.ERROR, (
27 'logging.root level should be changed to ERROR, but found {}'.format(
28 logging.root.getEffectiveLevel()))
[all …]
/external/python/cpython3/Lib/test/
Dtest_logging.py17 """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 …]
/external/google-cloud-java/google-cloud-examples/src/main/java/com/google/cloud/examples/logging/
DLoggingExample.java17 package com.google.cloud.examples.logging;
23 import com.google.cloud.logging.LogEntry;
24 import com.google.cloud.logging.Logging;
25 import com.google.cloud.logging.Logging.EntryListOption;
26 import com.google.cloud.logging.LoggingOptions;
27 import com.google.cloud.logging.Metric;
28 import com.google.cloud.logging.MetricInfo;
29 import com.google.cloud.logging.Payload.StringPayload;
30 import com.google.cloud.logging.Severity;
31 import com.google.cloud.logging.Sink;
[all …]
/external/sdk-platform-java/test/integration/goldens/logging/src/com/google/cloud/logging/v2/stub/
DConfigServiceV2Stub.java17 package com.google.cloud.logging.v2.stub;
19 import static com.google.cloud.logging.v2.ConfigClient.ListBucketsPagedResponse;
20 import static com.google.cloud.logging.v2.ConfigClient.ListExclusionsPagedResponse;
21 import static com.google.cloud.logging.v2.ConfigClient.ListSinksPagedResponse;
22 import static com.google.cloud.logging.v2.ConfigClient.ListViewsPagedResponse;
27 import com.google.logging.v2.CmekSettings;
28 import com.google.logging.v2.CopyLogEntriesMetadata;
29 import com.google.logging.v2.CopyLogEntriesRequest;
30 import com.google.logging.v2.CopyLogEntriesResponse;
31 import com.google.logging.v2.CreateBucketRequest;
[all …]
/external/python/cpython2/Doc/howto/
Dlogging-cookbook.rst4 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 …]
Dlogging.rst2 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 …]
/external/cronet/build/android/pylib/utils/
Dlogging_utils.py6 import logging
22 class _ColorFormatter(logging.Formatter):
26 logging.DEBUG: (FORE.CYAN),
27 logging.INFO: (), # Use default style.
28 logging.WARNING: (FORE.YELLOW),
29 logging.ERROR: (FORE.RED),
30 logging.CRITICAL: (BACK.RED),
34 """Wraps a |logging.Formatter| and adds color."""
36 self._wrapped_formatter = wrapped_formatter or logging.Formatter()
51 class ColorStreamHandler(logging.StreamHandler):
[all …]
/external/angle/build/android/pylib/utils/
Dlogging_utils.py6 import logging
22 class _ColorFormatter(logging.Formatter):
26 logging.DEBUG: (FORE.CYAN),
27 logging.INFO: (), # Use default style.
28 logging.WARNING: (FORE.YELLOW),
29 logging.ERROR: (FORE.RED),
30 logging.CRITICAL: (BACK.RED),
34 """Wraps a |logging.Formatter| and adds color."""
36 self._wrapped_formatter = wrapped_formatter or logging.Formatter()
51 class ColorStreamHandler(logging.StreamHandler):
[all …]
/external/autotest/client/common_lib/
Dlogging_config.py6 import logging
17 logging.basicConfig(level=logging.DEBUG)
20 class AllowBelowSeverity(logging.Filter):
23 the normal logging level filtering does.
33 class VarLogMessageFormatter(logging.Formatter):
35 Respews logging.* strings on the DUT to /var/log/messages for easier
46 # string for logging. In py3 this is just not needed.
48 # logging.
58 global_level = logging.DEBUG
59 stdout_level = logging.INFO
[all …]
/external/sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/
DLogging.java17 // source: google/api/logging.proto
25 * Logging configuration of the service.
42 * logging:
54 * Protobuf type {@code google.api.Logging}
56 public final class Logging extends com.google.protobuf.GeneratedMessageV3 class
58 // @@protoc_insertion_point(message_implements:google.api.Logging)
61 // Use Logging.newBuilder() to construct.
62 private Logging(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in Logging() method in Logging
66 private Logging() { in Logging() method in Logging
74 return new Logging(); in newInstance()
[all …]
DLoggingOrBuilder.java17 // source: google/api/logging.proto
23 // @@protoc_insertion_point(interface_extends:google.api.Logging)
30 * Logging configurations for sending logs to the producer project.
36 * <code>repeated .google.api.Logging.LoggingDestination producer_destinations = 1;</code>
38 java.util.List<com.google.api.Logging.LoggingDestination> getProducerDestinationsList(); in getProducerDestinationsList()
43 * Logging configurations for sending logs to the producer project.
49 * <code>repeated .google.api.Logging.LoggingDestination producer_destinations = 1;</code>
51 com.google.api.Logging.LoggingDestination getProducerDestinations(int index); in getProducerDestinations()
56 * Logging configurations for sending logs to the producer project.
62 * <code>repeated .google.api.Logging.LoggingDestination producer_destinations = 1;</code>
[all …]
/external/python/cpython3/Doc/howto/
Dlogging-cookbook.rst4 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 …]
Dlogging.rst2 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 …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DSocketHandlerTest.java18 package org.apache.harmony.logging.tests.java.util.logging;
29 import java.util.logging.Filter;
30 import java.util.logging.Formatter;
31 import java.util.logging.Handler;
32 import java.util.logging.Level;
33 import java.util.logging.LogManager;
34 import java.util.logging.LogRecord;
35 import java.util.logging.LoggingPermission;
36 import java.util.logging.SocketHandler;
37 import java.util.logging.XMLFormatter;
[all …]
/external/python/cpython2/Lib/test/
Dtest_logging.py17 """Test harness for the logging module. Run all tests.
22 import logging
23 import logging.handlers
24 import logging.config
53 """Base class for logging tests."""
60 """Setup the default logging stream to an internal StringIO instance,
62 logger_dict = logging.getLogger().manager.loggerDict
63 logging._acquireLock()
65 self.saved_handlers = logging._handlers.copy()
66 self.saved_handler_list = logging._handlerList[:]
[all …]
/external/pigweed/pw_cli/py/pw_cli/
Dlog.py14 """Tools for configuring Python logging."""
16 import logging
43 _LogLevel(logging.CRITICAL, 'bold_magenta', 'CRT', '‼️ '),
44 _LogLevel(logging.ERROR, 'red', 'ERR', '❌'),
45 _LogLevel(logging.WARNING, 'yellow', 'WRN', '⚠️ '),
46 _LogLevel(logging.INFO, 'magenta', 'INF', 'ℹ️ '),
48 _LogLevel(logging.DEBUG, 'blue', 'DBG', '��'),
52 _LOG = logging.getLogger(__name__)
53 _STDERR_HANDLER = logging.StreamHandler()
57 """Converts pw_log C log-level macros to Python logging levels."""
[all …]
/external/python/absl-py/absl/logging/
D__init__.py15 """Abseil Python logging module implemented on top of standard logging.
19 from absl import logging
21 logging.info('Interesting Stuff')
22 logging.info('Interesting Stuff with Arguments: %d', 42)
24 logging.set_verbosity(logging.INFO)
25 logging.log(logging.DEBUG, 'This will *not* be printed')
26 logging.set_verbosity(logging.DEBUG)
27 logging.log(logging.DEBUG, 'This will be printed')
29 logging.warning('Worrying Stuff')
30 logging.error('Alarming Stuff')
[all …]
/external/opencensus-java/contrib/log_correlation/stackdriver/
DREADME.md4 [Stackdriver Logging](https://cloud.google.com/logging/)
5 …ithub.io/google-cloud-java/google-cloud-clients/apidocs/com/google/cloud/logging/LoggingEnhancer.h…
16 …ud:google-cloud-logging`](https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/goo…
17 library to export logs to Stackdriver. `google-cloud-logging` must be version `1.33.0` or later.
19 another cloud platform. See https://cloud.google.com/logging/docs/setup/java for instructions for
20 setting up `google-cloud-logging`.
22 **Note that this artifact does not support logging done through the Stackdriver Logging agent.**
52 `java.util.logging` property:
56 Other aspects of configuring the `OpenCensusTraceLoggingEnhancer` depend on the logging
57 implementation and `google-cloud-logging` adapter in use.
[all …]
/external/grpc-grpc/tools/distrib/python/xds_protos/google/logging/v2/
Dlogging_metrics_pb2.py3 # source: google/logging/v2/logging_metrics.proto
26logging/v2/logging_metrics.proto\x12\x11google.logging.v2\x1a\x17google/api/client.proto\x1a\x1dgo…
30 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.logging.v2.logging_metrics_pb2', _globa…
33logging.v2B\023LoggingMetricsProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\…
57 …_LOGMETRIC._serialized_options = b'\352AG\n logging.googleapis.com/LogMetric\022#projects/{project…
65 …ds_by_name['metric_name']._serialized_options = b'\342A\001\002\372A\"\n logging.googleapis.com/Lo…
67 …ields_by_name['parent']._serialized_options = b'\342A\001\002\372A\"\022 logging.googleapis.com/Lo…
71 …ds_by_name['metric_name']._serialized_options = b'\342A\001\002\372A\"\n logging.googleapis.com/Lo…
75 …ds_by_name['metric_name']._serialized_options = b'\342A\001\002\372A\"\n logging.googleapis.com/Lo…
77logging.googleapis.com\322A\360\001https://www.googleapis.com/auth/cloud-platform,https://www.goog…
/external/autotest/client/common_lib/cros/manual/
Dcfm_helper.py9 import logging
28 logging.info('---Get the latest chrome log file')
33 logging.exception('Fail to run command %s.', cmd)
35 logging.info('---cmd: %s', cmd)
36 logging.info('---output: %s', output.lower().strip())
47 logging.info('---Get the latest reboot log')
51 logging.exception('Fail to run command %s.', cmd)
53 logging.info('---cmd: %s', cmd)
54 logging.info('---output: %s', output.lower().strip())
68 logging.info('---cmd: cros_config %s', cros_config_args)
[all …]

12345678910>>...389