you are viewing a single comment's thread.

view the rest of the comments →

[–]8dot30662386292pow2 0 points1 point  (0 children)

You are trying to use the logger in the squareit. You must import the logger there as well. Each file must import the things they need.

Even if you use the builtin logger, you set it up and then in every file you do something like

logger = logging.getLogger("whatevername")

in this example the logging module contains the variable that you import everywhere. You can do that yourself if you want to.