# File lib/mole/moler.rb, line 31 def perf_it( context, user_id, args ) return unless ::Mole.moleable? if ::Mole.persistent? MoleLog.log_it( context, MoleFeature::find_performance_feature( ::Mole.application ), user_id, args ) else ::Mole.logger.log_it( context, "Performance", user_id, args ) end # Send out email notification if requested Mole::EMole.deliver_perf_alerts( context, user_id, args ) if args[:email] and args[:email] == true end