Skip to content

pimmee/python-log-decorator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Overview

Logging decorator that logs the arguments and return value of a function / method.

Example usage

from logcall import log

@log()
def foo(arg1, arg2, api_key):
    pass

class MyClass:
@log()
def my_method(self, arg1, arg2, api_key):
    pass

@log(ignore=["api_key"])
def foo(arg1, arg2, api_key):
    pass

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages