Sha256: e8ef7f21e12a65c75e9b3cdab82c4e17cac50bdae005dc9cae8f14cf6b40da82

Contents?: true

Size: 485 Bytes

Versions: 56

Compression:

Stored size: 485 Bytes

Contents

class Logger
  class Formatter
    public

    attr_accessor datetime_format: String?

    def call: (String severity, Time time, untyped progname, untyped msg) -> String

    private

    def format_datetime: (Time time) -> untyped

    def initialize: () -> void

    def msg2str: (String | Exception | untyped msg) -> String
  end

  interface _Formatter
    def call: (String severity, Time time, untyped progname, untyped msg) -> _ToS
  end
end

Logger::Formatter::Format: String

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
rbs-1.3.1 stdlib/logger/0/formatter.rbs
rbs-1.3.0 stdlib/logger/0/formatter.rbs
rbs-1.2.1 stdlib/logger/0/formatter.rbs
rbs-1.2.0 stdlib/logger/0/formatter.rbs
rbs-1.1.1 stdlib/logger/0/formatter.rbs
rbs-1.1.0 stdlib/logger/0/formatter.rbs
rbs-1.0.6 stdlib/logger/0/formatter.rbs
rbs-1.0.5 stdlib/logger/0/formatter.rbs
rbs-1.0.4 stdlib/logger/0/formatter.rbs
rbs-1.0.3 stdlib/logger/0/formatter.rbs
rbs-1.0.2 stdlib/logger/0/formatter.rbs
rbs-1.0.1 stdlib/logger/0/formatter.rbs
rbs-1.0.0 stdlib/logger/0/formatter.rbs
rbs-1.0.0.pre2 stdlib/logger/0/formatter.rbs
rbs-1.0.0.pre stdlib/logger/0/formatter.rbs
rbs-0.20.1 stdlib/logger/0/formatter.rbs
rbs-0.20.0 stdlib/logger/0/formatter.rbs
rbs-0.19.0 stdlib/logger/0/formatter.rbs
rbs-0.18.1 stdlib/logger/0/formatter.rbs
rbs-0.18.0 stdlib/logger/0/formatter.rbs