blob: ef2221f23f9e062b4f88d3892aafbcb58f0c97e4 [file] [log] [blame]
"""Logging warnings using a logger class."""
from __future__ import absolute_import
import logging
__revision__ = ''
LOG = logging.getLogger("domain")
LOG.debug("%s" % "junk") # [logging-not-lazy]
LOG.log(logging.DEBUG, "%s" % "junk") # [logging-not-lazy]
LOG2 = LOG.debug
LOG2("%s" % "junk") # [logging-not-lazy]
logging.getLogger("domain").debug("%s" % "junk") # [logging-not-lazy]