Send log to email if chef-client fails

Hi folks,

I checked documentation related to handlers, works fine so far when job fails:

Chef.event_handler do
on :run_failed do
HandlerSendEmail::Helper.new.send_email_on_run_failure(
Chef.run_context.node.name,
def_emails
)
end
end

I see Chef.run_context.node.name - means node name, but is that possible to send the full log of chef-client run via email?

Thanks