PSR-3 compliant PHP extension with multiple logging mechanisms