diff options
author | jantwisted <janith@member.fsf.org> | 2017-02-26 12:41:25 +0530 |
---|---|---|
committer | jantwisted <janith@member.fsf.org> | 2017-02-26 12:41:25 +0530 |
commit | 366089f82add405801daaf8dac586d29a9c76025 (patch) | |
tree | 6ae61c2d97f53bcf128737be5651022eb6eff8a8 /markdown_link_style | |
parent | 8c724cbb7bf8c120131db9aba3c1921172b591dc (diff) |
unit tests for markdown_link_style.logging module
Diffstat (limited to 'markdown_link_style')
-rw-r--r-- | markdown_link_style/logging.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/markdown_link_style/logging.py b/markdown_link_style/logging.py index 7a1c143..055cd4e 100644 --- a/markdown_link_style/logging.py +++ b/markdown_link_style/logging.py @@ -28,23 +28,23 @@ class MDLSLogger(object): def __init__(self, name): self.logger = logging.getLogger(name) - def debug(msg, *args, **kwargs): + def debug(self, msg, *args, **kwargs): self.logger.debug(msg, *args, **kwargs) - def info(msg, *args, **kwargs): + def info(self, msg, *args, **kwargs): self.logger.info(msg, *args, **kwargs) - def warning(msg, *args, **kwargs): + def warning(self, msg, *args, **kwargs): self.logger.warning(msg, *args, **kwargs) - def error(msg, *args, **kwargs): + def error(self, msg, *args, **kwargs): self.logger.error(msg, *args, **kwargs) - def critical(msg, *args, **kwargs): + def critical(self, msg, *args, **kwargs): self.logger.critical(msg, *args, **kwargs) - def log(msg, *args, **kwargs): + def log(self, msg, *args, **kwargs): self.logger.log(msg, *args, **kwargs) - def exception(msg, *args, **kwargs): - self.logger.exception(msg, *args, **kwargs) + def exception(self, msg, *args, **kwargs): + self.logger.exception(msg, *args, **kwargs)
\ No newline at end of file |