You probably want getLogger(__name__)
...or something close to it.
On Wed, Apr 27, 2022 at 12:58 PM תמר ווסה wrote:
> hello,
> we have many scripts of one project. what is the right way to define the
> logger to all scripts? we tried to create class that define the logger
> configuration+g
hello,
we have many scripts of one project. what is the right way to define the logger
to all scripts? we tried to create class that define the logger
configuration+generic function (handler functions to write generic log
message), and each script define an instance of the class. But the log