Describes a logger-aware instance.
public
setLogger(LoggerInterface $logger): void
Sets a logger instance on the object.