summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_logging_not_lazy_with_logger.py
blob: afbe285558bd7c652d0edfd1cec0f83cf52b5e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Logging warnings using a logger class."""
from __future__ import absolute_import
__revision__ = ''

import logging


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")