Adding FromServicesAttribute.

correction: this should use `ILoggerFactory`