[Reviewer: Alex] Allow overriding the SAS logger

Tested by using the new function, and also building Homestead to verify that old usage isn't broken. Not tested live.
Should be virtual to allow further overriding.