Hide keyboard shortcuts

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 ~~~~~~~~~~~~~~~~~~~ 

4 

5 Load me later. A lazy loading plugin management system. 

6 

7 :copyright: (c) 2017-2018 by Onni Software Ltd. 

8 :license: New BSD License, see LICENSE for more details 

9""" 

10import logging 

11 

12from lml._version import __author__ # noqa: F401 

13from lml._version import __version__ # noqa: F401 

14 

15try: 

16 from logging import NullHandler 

17except ImportError: 

18 

19 class NullHandler(logging.Handler): 

20 """ 

21 Null handler for logging 

22 """ 

23 

24 def emit(self, record): 

25 pass 

26 

27 logging.getLogger(__name__).addHandler(NullHandler())