Metadata-Version: 2.1
Name: mongo_system_log
Version: 0.0.4
Summary: A log package that works with MongoDB.
Home-page: UNKNOWN
Author: Ronaldo Duarte
Author-email: ronaldoduarte@globo.com
License: UNKNOWN
Project-URL: Source Code, https://github.com/ronaldodduarte/mongo-system-log
Description: The idea behind this package is possibility to you use some client or something like the Metabase for collect and analyse logs of your application. Its need two environments variables:  
        * MONGO_DB  
        * MONGO_URL    
        
        Its works with two collections:  
        * error  
        * info
        
        sample  
        ~~~python
        from mongo_system_log import *
        log = LogThis(get_module_name())
        log.error('error message')
        log.info('info message')
        ~~~
        get_module_name()  
        * This function gets module and file name that called it. Must be called on instantiate the LogThis class.
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
