[Frontend + Server]: create factory method for logger.
Rather than import the debug library and manually create multiple logging methods (info, log, error) for each file, we should have a logging factory that takes returns these methods for us given the file id (likely manually supplied).
[Frontend + Server]: create factory method for logger. Rather than import the debug library and manually create multiple logging methods (info, log, error) for each file, we should have a logging factory that takes returns these methods for us given the file id (likely manually supplied).