Module Moped::Instrumentable::Log
In: lib/moped/instrumentable/log.rb

Provides logging instrumentation for compatibility with active support notifications.

@since 2.0.0

Methods

Public Instance methods

Instrument the log payload.

@example Instrument the log payload.

  Log.instrument("moped.ops", {})

@param [ String ] name The name of the logging type. @param [ Hash ] payload The log payload.

@return [ Object ] The result of the yield.

@since 2.0.0

[Validate]