Searched defs:logging (Results 1 - 6 of 6) sorted by relevance

/vbox/src/libs/xpcom18a4/python/
H A D__init__.py90 # PYXPCOM_LOG_LEVEL=level - level may be a number or a logging level
94 import logging namespace
96 # enough of a stream to keep logging happy
107 hdlr = logging.StreamHandler(ConsoleServiceStream())
108 fmt = logging.Formatter(logging.BASIC_FORMAT)
110 # There is a bug in 2.3 and 2.4.x logging module in that it doesn't
113 # Later versions of logging use an RLock, so we detect an "old" style
123 stream = sys.stderr # this is what logging uses as default
133 hdlr = logging
[all...]
/vbox/src/libs/xpcom18a4/python/test/
H A Dtest_com_exceptions.py44 import logging namespace
82 class TestHandler(logging.Handler):
83 def __init__(self, level=logging.ERROR): # only counting error records
84 logging.Handler.__init__(self, level)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/
H A DEdkLogger.py15 import sys, os, logging namespace
45 _DebugLogger = logging.getLogger("tool_debug")
46 _DebugFormatter = logging.Formatter("[%(asctime)s.%(msecs)d]: %(message)s", datefmt="%H:%M:%S")
49 _InfoLogger = logging.getLogger("tool_info")
50 _InfoFormatter = logging.Formatter("%(message)s")
53 _ErrorLogger = logging.getLogger("tool_error")
54 _ErrorFormatter = logging.Formatter("%(message)s")
249 _DebugChannel = logging.StreamHandler(sys.stdout)
255 _InfoChannel = logging.StreamHandler(sys.stdout)
261 _ErrorCh = logging
[all...]
/vbox/src/libs/xpcom18a4/python/client/
H A D__init__.py40 import logging namespace
/vbox/src/libs/xpcom18a4/python/server/
H A Dpolicy.py44 import logging namespace
286 if logger.isEnabledFor(logging.DEBUG):
294 # As above, trick the logging module to handle Python 2.3
322 # And fall through to logging the original error.
/vbox/src/VBox/ValidationKit/testdriver/
H A Dreporter.py56 Python logging => testdriver/reporter.py stream.
84 # Hook into the python logging.
85 import logging; namespace
86 logging.basicConfig(stream = PythonLoggingStream(),
87 level = logging.DEBUG,
106 # Generic logging.
879 # Do the logging.
1240 Completes the current test (pops it), logging PASSED / FAILURE.

Completed in 39 milliseconds