mikes-backup-rotator/domain/Logger.py

19 lines
268 B
Python
Raw Normal View History

import logging
class Logger:
def __init__(self, name: str):
self.__name = name
def debug(self, s):
print(self.__name, s)
def info(self, s):
print(self.__name, s)
def warn(self, s):
print(self.__name, s)
def error(self, s):
print(self.__name, s)