Added factorlog for better logging
Grouped logging formats into one const statement