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