From: Vinay Sajip Date: Wed, 7 Jul 2004 15:59:49 +0000 (+0000) Subject: Replaced some tabs with spaces in verbatim section. X-Git-Tag: v2.4a1~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3c330b42a5dbc64a254354e906885134a852949;p=thirdparty%2FPython%2Fcpython.git Replaced some tabs with spaces in verbatim section. --- diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index 2e8e16ede84d..3658dd85fae6 100644 --- a/Doc/lib/liblogging.tex +++ b/Doc/lib/liblogging.tex @@ -397,9 +397,9 @@ the example below: import logging logging.basicConfig(level=logging.DEBUG, - format='%(asctime)s %(levelname)s %(message)s', - filename='/tmp/myapp.log', - filemode='w') + format='%(asctime)s %(levelname)s %(message)s', + filename='/tmp/myapp.log', + filemode='w') logging.debug('A debug message') logging.info('Some information') logging.warning('A shot across the bows') @@ -444,10 +444,10 @@ To change the date/time format, you can pass an additional keyword parameter, import logging logging.basicConfig(level=logging.DEBUG, - format='%(asctime)s %(levelname)-8s %(message)s', - datefmt='%a, %d %b %Y %H:%M:%S', - filename='/temp/myapp.log', - filemode='w') + format='%(asctime)s %(levelname)-8s %(message)s', + datefmt='%a, %d %b %Y %H:%M:%S', + filename='/temp/myapp.log', + filemode='w') logging.debug('A debug message') logging.info('Some information') logging.warning('A shot across the bows')