You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
328 B
Python

"""
a logging object
"""
import logging
class Log:
def __init__(self):
logging.basicConfig(level=logging.INFO, format="")
self._target = logging.getLogger()
def __getattr__(self, name):
return getattr(self._target, name)
def __dir__(self):
return dir(self._target)
log = Log()