Skip to content

Log whole modules / functions outsides classes / whole application #17

Description

@valentijnscholten

Hi,

I am dealing with a fairly large somewhat older python django project which mainly consists of python files with lots of functions without any Classes.

import os

def function1():
      do_stuff()

Is there anyway I can use autologging to log all these function calls? I believe from the docs the @logged and @traced only work on class or method level?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions