blob: 69d0e9bd419578526f9f03f7b4d6698fb9174476 [file] [log] [blame]
"""Logging warnings using a logger class."""
# pylint: disable=consider-using-f-string
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]