I have a feed and I want to email the log entries from feeds_log after it has completed a run. I thought that if I could get the feed_id, I could query the db to get the log entries.
I'm using hook_feeds_after_import()
, which gives me access to the $source
object, but in looking through some documentation, I don't see a way to get the feed_id.
How can I get the log entries from a feed run?