Agent-Hellboy / Agent-Hellboy/log_call

Change log_call decorator to accept custom function for logging

Offen
#1 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement hacktoberfest
Vorherrschende Sprache
Python
Sterne
1
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently, log_call decorator is using the python std module logging module internally to log message
```
@log_call
class A:
def __init__(self):
pass

def a(self,*args,**kwargs):
pass
```
log_call should receive a param where we can pass a custom logging function to log the message as people can use click or several other libs which provide logging facility for logging

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.