Metadata-Version: 1.1
Name: frustum
Version: 0.0.6
Summary: (Almost) out-of-the box logging
Home-page: https://github.com/Vesuvium/frustum
Author: Jacopo Cascioli
Author-email: jacopocascioli@gmail.com
License: MIT
Description: Frustum
        ========
        
        (Almost) out-of-the box logging. Frustum is a wrapper around the standard's
        library logging, so you don't have to write the same boilerplate again.
        
        Install::
        
            pip install frustum
        
        Usage::
        
            from frustum import Frustum
        
            # Initialize with logger name and level
            frustum = Frustum('logger_name', 'debug')
        
            # Register all the events that you want within frustum
            frustum.register_event('setup', 'info', 'Frustum has been setup in {}')
        
            # Start the logger
            frustum.start_logger()
        
            # Now you can use the registered events in this way
            frustum.log('setup', 'readme')
        
            # The previous call would output:
            # INFO:app:Frustum has been setup in readme
            # into your stdout (as per standard logging configuration)
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
