Class: Snails::Logger::RecordFormatter

Inherits:
Object
  • Object
show all
Defined in:
runtime/snails/logger/record_formatter.rbs,
runtime/snails/logger/record_formatter.rb

Instance Method Summary collapse

Instance Method Details

#call(record, progname) ⇒ String

the local line for one record.

Parameters:

  • record (Record) —

    the record to render

  • progname (String) —

    the service name between -- and :

Returns:

  • (String) —

    the full line, including its newline



15
# File 'runtime/snails/logger/record_formatter.rb', line 15

def call: (Record record, untyped progname) -> String