Metadata-Version: 1.0
Name: simplelog
Version: 0.2
Summary: Simple interface for logging in python
Home-page: kevinslin.com
Author: Kevin S Lin
Author-email: kevinslin8@gmail.com
License: UNKNOWN
Description: 
        Simplelog Class Methods:
        ========================
        Simplelog()
            Creates a logger that prints the log files in the current directory. 
        
        quiet()
            Stops the logger from printing to standard out
        
        enable()
            Restarts the logger with original path.
        
        SL
            Singleton instance of the simplelog. The log files are stored in /tmp/simplelog.log. Default behavior is to rewrite the log everytime
        
        Decorators:
        -----------
        enable()
            If simplelog is disabled, enables it for function. Otherwise,
        does nothing.
        
        disable()
            If simplelog is enabled, disable it for function. Otherwise does
        nothing.
        
        dump_func(level = None, func_name_only = False, pretty = True)
        
        Usage:
        =========
        import simplelog
        
        SL = simplelog.SL
        
        def foo(bar):
          ...
          x = acc
          SL.debug("value of x: " %s str(x))
        
        # Disabling and Enabling the simplelogger 
        
        def bar(foo):
          SL.disable() 
          SL.debug("old debug message")
          SL.debug("more debug messsages")
          SL.enable()
        
Platform: UNKNOWN
