Trying to debug steps using classic python loggin stuff
And found that link from the docs: https://github.com/dagger/dagger/blob/main/sdk/python/src/dagger/log.py
I'm not sucessful using it. I'm wondering why we can just do something like bellow :
import dagger
from dagger import dag, function, object_type
from dagger.log import configure_logging, logging
import dagger.log
configure_logging()
@object_type
class Hook2Mail:
@function
async def simple(self) -> str:
logging.debug("test4")
logging.info("test3")
logging.warning("test2")
logging.error("test1")
return "hello"
It does "run" but there is no log message displayed when running with `--progress=plain``