from __future__ import absolute_import

__version__ = '4.3.0'

from __future__ import absolute_import

__version__ = '4.3.0'


# Add a NullHandler so 'traits' loggers don't complain when they get used.
import logging

class NullHandler(logging.Handler):

    def handle(self, record):
        pass

    def emit(self, record):
        pass

    def createLock(self):
        self.lock = None

logger = logging.getLogger(__name__)
logger.addHandler(NullHandler())

del logging, logger, NullHandler

Use a NullHandler for all 'traits' loggers per best practice for logging.
FIX: Use a NullHandler for all 'traits' loggers per best practice for logging.
