from .cpnest import CPNest

__version__ = '0.9.8'

__all__ = ['model',
           'NestedSampling',
           'parameter',
           'sampler',
           'cpnest',
           'nest2pos',
           'proposal',
           'plot']

import logging
from .logger import CPNestLogger
from .cpnest import CPNest

logging.setLoggerClass(CPNestLogger)

__version__ = '0.9.8'

__all__ = ['model',
           'NestedSampling',
           'parameter',
           'sampler',
           'cpnest',
           'nest2pos',
           'proposal',
           'plot',
           'logger']


Set logger class in init
Set logger class in init

+ import logging
+ from .logger import CPNestLogger
  from .cpnest import CPNest
+ 
+ logging.setLoggerClass(CPNestLogger)
  
  __version__ = '0.9.8'
  
  __all__ = ['model',
             'NestedSampling',
             'parameter',
             'sampler',
             'cpnest',
             'nest2pos',
             'proposal',
-            'plot']
+            'plot',
+            'logger']
  
+ 
Set logger class in init
## Code Before:
from .cpnest import CPNest

__version__ = '0.9.8'

__all__ = ['model',
           'NestedSampling',
           'parameter',
           'sampler',
           'cpnest',
           'nest2pos',
           'proposal',
           'plot']

## Instruction:
Set logger class in init
## Code After:
import logging
from .logger import CPNestLogger
from .cpnest import CPNest

logging.setLoggerClass(CPNestLogger)

__version__ = '0.9.8'

__all__ = ['model',
           'NestedSampling',
           'parameter',
           'sampler',
           'cpnest',
           'nest2pos',
           'proposal',
           'plot',
           'logger']

