namespace logger to prevent conflicts with other plugins

This commit is contained in:
Alan Hamlett 2014-07-25 00:59:25 -07:00
parent c07bef55af
commit e392ff6e77
11 changed files with 11 additions and 11 deletions

View file

@ -13,7 +13,7 @@ import logging
import os
log = logging.getLogger(__name__)
log = logging.getLogger('WakaTime')
class BaseProject(object):

View file

@ -15,7 +15,7 @@ import os
from .base import BaseProject
log = logging.getLogger(__name__)
log = logging.getLogger('WakaTime')
# str is unicode in Python3

View file

@ -15,7 +15,7 @@ import os
from .base import BaseProject
log = logging.getLogger(__name__)
log = logging.getLogger('WakaTime')
# str is unicode in Python3

View file

@ -26,7 +26,7 @@ import os
from .base import BaseProject
log = logging.getLogger(__name__)
log = logging.getLogger('WakaTime')
# str is unicode in Python3

View file

@ -21,7 +21,7 @@ except ImportError:
from ..packages.ordereddict import OrderedDict
log = logging.getLogger(__name__)
log = logging.getLogger('WakaTime')
# str is unicode in Python3

View file

@ -17,7 +17,7 @@ import os
from .base import BaseProject
log = logging.getLogger(__name__)
log = logging.getLogger('WakaTime')
# str is unicode in Python3