Simple Trick for Getting a Logger Instance on Package Level Without Specifying Class
If you want to define a top level logger and access it from functions in the same file, Here's how you can achieve this.
You can use this when you need:
- A static logger without specifying the class name
- Obtaining a logger from the top level