Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS W:\> python
- Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import logging
- >>> foo = logging.getLogger('foo')
- >>> foo.setLevel(logging.DEBUG)
- >>> foo.debug('bar')
- >>> foo.debug('bar')
- >>> logging.debug('baz')
- >>> foo.debug('bar')
- DEBUG:foo:bar
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement