class ActiveSupport::Logger::SimpleFormatter

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/active_support/logger.rbs

class ActiveSupport::Logger::SimpleFormatter < Logger::Formatter
  def call: (String severity, Time timestamp, nil progname, String msg) -> String
end

Simple formatter which only displays the message.

def call(severity, timestamp, progname, msg)

Experimental RBS support (using type sampling data from the type_fusion project).

def call: (String severity, Time timestamp, nil progname, String msg) -> String

This signature was generated using 336 samples from 3 applications.

This method is invoked when a log event occurs
def call(severity, timestamp, progname, msg)
  "#{String === msg ? msg : msg.inspect}\n"
end