diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2004-07-07 15:59:49 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2004-07-07 15:59:49 (GMT) |
commit | e3c330b42a5dbc64a254354e906885134a852949 (patch) | |
tree | 366b6204777967149d046ede18dfdf824a6cac0d | |
parent | ea271f2d5e38129b45f798a9e883cdc1e47f8b31 (diff) | |
download | cpython-e3c330b42a5dbc64a254354e906885134a852949.zip cpython-e3c330b42a5dbc64a254354e906885134a852949.tar.gz cpython-e3c330b42a5dbc64a254354e906885134a852949.tar.bz2 |
Replaced some tabs with spaces in verbatim section.
-rw-r--r-- | Doc/lib/liblogging.tex | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index 2e8e16e..3658dd8 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') |