Lines Matching refs:datefmt
56 file_formatter = logging.Formatter(fmt=FILE_FORMAT, datefmt=DATE_FORMAT)
61 datefmt='%H:%M:%S')
64 datefmt='%H:%M:%S')
84 def add_stream_handler(self, stream, level=logging.DEBUG, datefmt=None): argument
88 if datefmt:
90 datefmt=datefmt)
95 def add_console_handlers(self, datefmt=None): argument
98 datefmt=datefmt)
102 self.add_stream_handler(sys.stderr, self.stderr_level, datefmt)
108 datefmt=None): argument
114 if datefmt:
115 formatter = logging.Formatter(fmt=self.FILE_FORMAT, datefmt=datefmt)
142 def configure_logging(self, use_console=True, verbose=False, datefmt=None): argument
149 self.add_console_handlers(datefmt)