Metadata-Version: 2.1
Name: logger-config
Version: 0.3
Summary: UNKNOWN
Home-page: https://github.com/insigmo/simple_logger
Author: Betal Berbekov
Author-email: qwantone@gmail.com
License: MIT
Description: logger-config: Configurable and flexible logger for your python applications
        ============================================================================
        
           
        Description
        -----------
        
        The **logger-config** package is a basic configurable logger. This package is currently tested on Python =< 2.7.
        This  package worked on multithreding mode
        
        Installation
        ------------
        
            pip install logger-config
        
        or
        
        download the `latest release`_ and run
        
            python setup.py install
        
        
        Usage
        -----
        
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        import logging
        
        from logger_config import configure_logging
        
        logger_name = 'root_logger'
        configure_logging(logger_name, log_dir='logs', log_level=logging.DEBUG)
        logger = logging.getLogger(logger_name)
        
        
        logger.warning('This is warning')
        logger.error('This is exception')
        logger.info('This is info message')
        logger.debug('This is debug message')
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        
        **Console Output**
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        [2022-01-07 22:41:52,153] [MainThread] [WARNING] This is warning
        [2022-01-07 22:41:52,153] [MainThread] [ERROR] This is exception
        [2022-01-07 22:41:52,153] [MainThread] [INFO] This is info message
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        
Platform: any
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown
