Alternatively a StreamHandler can be used: new StreamHandler("php://stdout", $level);

Or if preferred you can use php://stderr