The PHP logger helper