Coverage for /home/martinb/.local/share/virtualenvs/camcops/lib/python3.6/site-packages/lml/__init__.py : 50%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2 lml
3 ~~~~~~~~~~~~~~~~~~~
5 Load me later. A lazy loading plugin management system.
7 :copyright: (c) 2017-2018 by Onni Software Ltd.
8 :license: New BSD License, see LICENSE for more details
9"""
10import logging
12from lml._version import __author__ # noqa: F401
13from lml._version import __version__ # noqa: F401
15try:
16 from logging import NullHandler
17except ImportError:
19 class NullHandler(logging.Handler):
20 """
21 Null handler for logging
22 """
24 def emit(self, record):
25 pass
27 logging.getLogger(__name__).addHandler(NullHandler())