Home
last modified time | relevance | path

Searched refs:FileHandler (Results 1 – 25 of 53) sorted by relevance

123

/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DFileHandlerTest.java31 import java.util.logging.FileHandler;
59 FileHandler handler;
73 handler = new FileHandler(); in setUp()
109 new FileHandler("%h/log_NoUsrHome.log"); in testConstructor_NoUsrHome()
124 new FileHandler("%t/log_NoTmpDir.log"); in testConstructor_NoTmpDir()
140 new FileHandler("%t/log_NoTmpDir_NoUsrHome.log"); in testConstructor_NoTmpDir_NoUsrHome()
157 FileHandler h = new FileHandler(); in testLock()
179 handler = new FileHandler(); in testFileHandler()
194 handler = new FileHandler(); in testDefaultValue()
205 handler = new FileHandler(); in testDefaultValue()
[all …]
DXMLFormatterTest.java27 import java.util.logging.FileHandler;
187 logger.addHandler(new FileHandler(logFile));
/external/llvm-project/clang/tools/clang-offload-bundler/
DClangOffloadBundler.cpp128 class FileHandler { class
130 FileHandler() {} in FileHandler() function in FileHandler
132 virtual ~FileHandler() {} in ~FileHandler()
213 class BinaryFileHandler final : public FileHandler {
236 BinaryFileHandler() : FileHandler() {} in BinaryFileHandler()
420 class ObjectFileHandler final : public FileHandler {
456 : FileHandler(), Obj(std::move(ObjIn)), in ObjectFileHandler()
625 class TextFileHandler final : public FileHandler {
712 : FileHandler(), Comment(Comment), ReadChars(0) { in TextFileHandler()
723 static std::unique_ptr<FileHandler>
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DLoggingConfigLoader.java33 import java.util.logging.FileHandler;
95 FileHandler fileHandler = new FileHandler(String.format("%s%c%s.%s.log", in maybeLoadDefaultLogConfiguration()
/external/caliper/caliper/src/test/java/com/google/caliper/config/
DLoggingConfigLoaderTest.java42 import java.util.logging.FileHandler;
80 FileHandler fileHandler = (FileHandler) handlerCaptor.getValue(); in testLoadDefaultLogConfiguration()
/external/autotest/client/common_lib/
Dlogging_config.py124 handler = logging.FileHandler(file_path)
184 if isinstance(handler, logging.FileHandler):
/external/python/cpython2/Lib/logging/
Dhandlers.py52 class BaseRotatingHandler(logging.FileHandler):
64 logging.FileHandler.__init__(self, filename, mode, encoding, delay)
78 logging.FileHandler.emit(self, record)
370 class WatchedFileHandler(logging.FileHandler):
391 logging.FileHandler.__init__(self, filename, mode, encoding, delay)
430 logging.FileHandler.emit(self, record)
D__init__.py898 class FileHandler(StreamHandler): class
1554 hdlr = FileHandler(filename, mode)
/external/python/cpython3/Lib/logging/
Dhandlers.py45 class BaseRotatingHandler(logging.FileHandler):
58 logging.FileHandler.__init__(self, filename, mode=mode,
75 logging.FileHandler.emit(self, record)
423 class WatchedFileHandler(logging.FileHandler):
445 logging.FileHandler.__init__(self, filename, mode=mode,
492 logging.FileHandler.emit(self, record)
/external/python/cpython3/PC/layout/support/
Dlogging.py44 handler = logging.FileHandler(ns.log, encoding="utf-8", delay=True)
/external/pigweed/pw_cli/py/pw_cli/
Dlog.py102 _setup_handler(logging.FileHandler(log_file), formatter, level)
/external/python/cpython2/Lib/
Durllib2.py495 FTPHandler, FileHandler, HTTPErrorProcessor]
1327 class FileHandler(BaseHandler): class
1341 if FileHandler.names is None:
1343 FileHandler.names = tuple(
1347 FileHandler.names = (socket.gethostbyname('localhost'),)
1348 return FileHandler.names
/external/vogar/src/vogar/
DOptionParser.java164 handlers.put(File.class, new FileHandler()); in handlers.put() argument
518 static class FileHandler extends Handler { class in OptionParser
/external/curl/tests/
Ddictserver.py141 handler = logging.FileHandler(options.logfile, mode="w")
Dnegtelnetserver.py316 handler = logging.FileHandler(options.logfile, mode="w")
Dsmbserver.py356 handler = logging.FileHandler(options.logfile, mode="w")
/external/autotest/client/tests/iozone/
Dpostprocessing.py225 foutput = logging.FileHandler(foutput_path)
244 routput = logging.FileHandler(routput_path)
/external/testng/src/main/java/org/testng/internal/
DUtils.java23 import java.util.logging.FileHandler;
455 FileHandler fh = new FileHandler(outputLogPath); in initLogger()
/external/python/cpython2/Doc/library/
Dlogging.handlers.rst27 the handlers (:class:`StreamHandler`, :class:`FileHandler` and
65 FileHandler chapter
68 The :class:`FileHandler` class, located in the core :mod:`logging` package,
73 .. class:: FileHandler(filename, mode='a', encoding=None, delay=False)
75 Returns a new instance of the :class:`FileHandler` class. The specified file is
136 module, is a :class:`FileHandler` which watches the file it is logging to. If
/external/ImageMagick/MagickCore/
Dlog.c84 FileHandler = 0x0008, enumerator
171 { "File", FileHandler },
1596 if ((log_info->handler_mask & FileHandler) != 0) in LogMagickEventList()
/external/python/cpython3/Lib/urllib/
Drequest.py579 FTPHandler, FileHandler, HTTPErrorProcessor,
1468 class FileHandler(BaseHandler): class
1482 if FileHandler.names is None:
1484 FileHandler.names = tuple(
1488 FileHandler.names = (socket.gethostbyname('localhost'),)
1489 return FileHandler.names
/external/python/cpython3/Doc/library/
Dlogging.handlers.rst26 the handlers (:class:`StreamHandler`, :class:`FileHandler` and
88 FileHandler chapter
91 The :class:`FileHandler` class, located in the core :mod:`logging` package,
96 .. class:: FileHandler(filename, mode='a', encoding=None, delay=False, errors=None)
98 Returns a new instance of the :class:`FileHandler` class. The specified file is
161 module, is a :class:`FileHandler` which watches the file it is logging to. If
221 The parameters are as for :class:`FileHandler`. The attributes are:
/external/fonttools/Lib/fontTools/misc/
DloggingTools.py146 h = logging.FileHandler(filename, mode)
/external/python/cpython3/Lib/test/
Dtest_logging.py609 (logging.FileHandler, (pfn, 'w')),
2106 handler = logging.FileHandler(fn, encoding="utf-8")
4444 self.assertIsInstance(handler, logging.FileHandler)
4446 expected = logging.FileHandler('test.log', 'a')
4461 expected = logging.FileHandler('test.log', 'wb')
4565 self.assertIsInstance(handler, logging.FileHandler)
4585 self.assertIsInstance(handler, logging.FileHandler)
4603 self.assertIsInstance(handler, logging.FileHandler)
4625 self.assertIsInstance(handler, logging.FileHandler)
5039 fh = logging.FileHandler(self.fn, delay=True)
/external/python/cpython2/Doc/howto/
Dlogging-cookbook.rst32 fh = logging.FileHandler('spam.log')
169 fh = logging.FileHandler('spam.log')
642 file from your processes. The existing :class:`FileHandler` and subclasses do
919 return logging.FileHandler(filename, mode, encoding)
965 return logging.FileHandler(filename, mode, encoding)
1036 :class:`~logging.FileHandler` - for example, one of the rotating file handlers,
1148 fh = logging.FileHandler('output.txt', 'w')

123