blob: 973a5c795cb48e7e22d20b03006993b140c97d8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
"""Logging warnings using a logger class."""
from __future__ import absolute_import
import logging
__revision__ = ''
LOG = logging.getLogger("domain")
LOG.debug("%s" % "junk")
LOG.log(logging.DEBUG, "%s" % "junk")
LOG2 = LOG.debug
LOG2("%s" % "junk")
logging.getLogger("domain").debug("%s" % "junk")
|