Another tiny saying is, "place the code previously mentioned the code that utilizes it", And so the logging should be near the top rated, possibly in \utilities.
Source code is foundational to Personal computer https://cruxbookmarks.com/story17658092/the-best-side-of-what-is-a-source-file