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-2.0.0 stdlib/logger/0/formatter.rbs
rbs-2.0.0.pre2 stdlib/logger/0/formatter.rbs
rbs-2.0.0.pre1 stdlib/logger/0/formatter.rbs
rbs-1.8.1 stdlib/logger/0/formatter.rbs
rbs-1.8.0 stdlib/logger/0/formatter.rbs
rbs-1.7.1 stdlib/logger/0/formatter.rbs
rbs-1.7.0 stdlib/logger/0/formatter.rbs
rbs-1.7.0.beta.5 stdlib/logger/0/formatter.rbs
rbs-1.7.0.beta.4 stdlib/logger/0/formatter.rbs
rbs-1.7.0.beta.3 stdlib/logger/0/formatter.rbs
rbs-1.7.0.beta.2 stdlib/logger/0/formatter.rbs
rbs-1.7.0.beta.1 stdlib/logger/0/formatter.rbs
rbs-1.6.2 stdlib/logger/0/formatter.rbs
rbs-1.6.1 stdlib/logger/0/formatter.rbs
rbs-1.6.0 stdlib/logger/0/formatter.rbs
rbs-1.5.1 stdlib/logger/0/formatter.rbs
rbs-1.5.0 stdlib/logger/0/formatter.rbs
rbs-1.4.0 stdlib/logger/0/formatter.rbs
rbs-1.3.3 stdlib/logger/0/formatter.rbs
rbs-1.3.2 stdlib/logger/0/formatter.rbs