Kushal Kumaran <kus...@locationd.net> writes: > Victor Porton <por...@narod.ru> writes: >> dieter wrote: > ... >>> I would distinguish between the common library and distinct >>> applications (command line utility, daemon). The applications >>> configure the logging system (differently) while the library uses >>> uniform logging calls. >> >> You have essentially just repeated my requirements. >> >> But HOW to do this (using dependency_injector module)? >> > > No idea how dependency_injector affects this, but have you read the > logging howto? The section > https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library > would be appropriate.
In fact, it was something like this I had in mind. -- https://mail.python.org/mailman/listinfo/python-list