Skip to content

canassa/flask-trace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flask Trace

A Simple logging decorator for Flask applications

Usage

Simply import the trace decorator and apply it to any function you want to log.

from flask_trace import trace

@trace
def my_awesome_function(arg1, arg2):
    pass

Now, any call to the my_awesome_function will be logged like this:

TRACE: trace_uuid=44f64962-3468-4273-bcd7-1c2067faacdf func_name=my_awesome_function arg1=1 arg2=2

About

A Simple logging decorator for Flask applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages