Yet another tiny stating is, "place the code earlier mentioned the code that employs it", Hence the logging must be close to the prime, it's possible in \utilities.
this post, in addition to any involved source code https://sashadcye896534.blogunteer.com/27903564/the-best-side-of-what-is-a-source-file