From: Tomas Babej Date: Sat, 8 Aug 2015 23:38:37 +0000 (+0200) Subject: backends: Add logger to backends module X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/04a8a71210033ec8a7b084ecf2e8d0da1dc933ae?hp=d66fcc9dcef74ab7cafee718cbb9fa78fec92d03 backends: Add logger to backends module --- diff --git a/tasklib/backends.py b/tasklib/backends.py index edf9ac3..1eb83b7 100644 --- a/tasklib/backends.py +++ b/tasklib/backends.py @@ -1,6 +1,7 @@ import abc import datetime import json +import logging import os import re import six @@ -22,6 +23,7 @@ VERSION_2_4_3 = six.u('2.4.3') VERSION_2_4_4 = six.u('2.4.4') VERSION_2_4_5 = six.u('2.4.5') +logger = logging.getLogger(__name__) class Backend(object):