from .logdna import LogDNAHandler
__all__ = ['LogDNAHandler']


from .logdna import LogDNAHandler
__all__ = ['LogDNAHandler']

# Publish this class to the "logging.handlers" module so that it can be use
# from a logging config file via logging.config.fileConfig().
import logging.handlers

logging.handlers.LogDNAHandler = LogDNAHandler

Make available via config file
feat(handlers): Make available via config file

- Add to `logging.handlers` such that LogDNAHandler can be configured
  via a logging config file

  from .logdna import LogDNAHandler
  __all__ = ['LogDNAHandler']
  
+ # Publish this class to the "logging.handlers" module so that it can be use
+ # from a logging config file via logging.config.fileConfig().
+ import logging.handlers
  
+ logging.handlers.LogDNAHandler = LogDNAHandler
+ 
Make available via config file
## Code Before:
from .logdna import LogDNAHandler
__all__ = ['LogDNAHandler']


## Instruction:
Make available via config file
## Code After:
from .logdna import LogDNAHandler
__all__ = ['LogDNAHandler']

# Publish this class to the "logging.handlers" module so that it can be use
# from a logging config file via logging.config.fileConfig().
import logging.handlers

logging.handlers.LogDNAHandler = LogDNAHandler
