Lines Matching refs:basicConfig
131 logging.basicConfig(filename='example.log', encoding='utf-8', level=logging.DEBUG)
169 to get the value which you'll pass to :func:`basicConfig` via the *level*
179 logging.basicConfig(level=numeric_level, ...)
181 The call to :func:`basicConfig` should come *before* any calls to :func:`debug`,
191 logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
208 logging.basicConfig(filename='myapp.log', level=logging.INFO)
271 logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG)
299 logging.basicConfig(format='%(asctime)s %(message)s')
310 a *datefmt* argument to ``basicConfig``, as in this example::
313 logging.basicConfig(format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p')
393 a destination (such as console or file) by using :func:`basicConfig` as in the
400 The default format set by :func:`basicConfig` for messages is:
406 You can change this by passing a format string to :func:`basicConfig` with the