logger file readability refactor
adding in usage of express if available and fallback if not