Instead of passing instances of loggers (like logging.Logger
), it is sometimes better, to just create them
(logging.get_logger('logger name')
) in places, where you want to use them.
Passing is preferend only in cases, where many objects is created in short ammount of time, because getting logger is a bit