略過至內容 略過至搜尋

僅顯示訊息的簡易格式設定器。

方法
C

執行個體公開方法

call(severity, timestamp, progname, msg)

當日誌事件發生時,呼叫此方法

# File activesupport/lib/active_support/logger.rb, line 41
def call(severity, timestamp, progname, msg)
  "#{String === msg ? msg : msg.inspect}\n"
end