僅顯示訊息的簡易格式設定器。
方法
- C
執行個體公開方法
call(severity, timestamp, progname, msg) 連結
當日誌事件發生時,呼叫此方法
來源:顯示 | 在 GitHub 上
# File activesupport/lib/active_support/logger.rb, line 41 def call(severity, timestamp, progname, msg) "#{String === msg ? msg : msg.inspect}\n" end