gizatechxyz/giza-agents

Improve logging across the package

Closed this issue · 2 comments

We should add multiple debug logs to help the developers to debug users problems.

Some debug logs that could be added:

  • log requests and responses
  • log contract initialization
  • log ape actions
  • framework args serialization
  • input and output of osiris des/serialization

This should be done using the logging module and we should create a utility function that can easily be added to start the log level of the library like:

from giza.agents.utils import debug_logging

# This should make logging to show all the DEBUG and INFO logs
debug_logging()

can I work on this?

Fixed on #60