Another little declaring is, "put the code higher than the code that works by using it", And so the logging must be close to the top, probably in \utilities.
when the prototype has long been declared, chances are https://medium.com/@linkdaddy/what-is-a-source-file-226b0fd56812