(Glide64 MK2) split up logging functions into its own file