Module: MerbFootnotes::Extensions::AbstractAdapter

Defined in:
lib/merb_footnotes/notes/queries_note.rb

Instance Method Summary collapse

Instance Method Details

#log_silenceObject



115
116
117
118
119
120
121
122
123
124
125
# File 'lib/merb_footnotes/notes/queries_note.rb', line 115

def log_silence
  result = nil
  if @logger
    @logger.silence do
      result = yield
    end        
  else
    result = yield
  end
  result
end