Sha256: f04310bf5fd29cf5aeb3e259e0411cffb29af50f55fe751c431cd00f89bbb90c

Contents?: true

Size: 811 Bytes

Versions: 35

Compression:

Stored size: 811 Bytes

Contents

class Logger
  class LogDevice
    include MonitorMixin

    include Period

    attr_reader dev: _WriteCloser
    attr_reader filename: String?

    public

    def close: () -> nil

    def reopen: (?logdev log) -> self

    def write: (untyped message) -> untyped

    private

    def add_log_header: (IO file) -> untyped

    def check_shift_log: () -> untyped

    def create_logfile: (String filename) -> File

    def initialize: (?untyped logdev, ?binmode: boolish, ?shift_period_suffix: String, ?shift_size: Integer, ?shift_age: Numeric | String) -> void

    def lock_shift_log: () { () -> untyped } -> untyped

    def open_logfile: (String filename) -> File

    def set_dev: (logdev log) -> untyped

    def shift_log_age: () -> true

    def shift_log_period: (Time period_end) -> true
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
rbs-1.3.1 stdlib/logger/0/log_device.rbs
rbs-1.3.0 stdlib/logger/0/log_device.rbs
rbs-1.2.1 stdlib/logger/0/log_device.rbs
rbs-1.2.0 stdlib/logger/0/log_device.rbs
rbs-1.1.1 stdlib/logger/0/log_device.rbs
rbs-1.1.0 stdlib/logger/0/log_device.rbs
rbs-1.0.6 stdlib/logger/0/log_device.rbs
rbs-1.0.5 stdlib/logger/0/log_device.rbs
rbs-1.0.4 stdlib/logger/0/log_device.rbs
rbs-1.0.3 stdlib/logger/0/log_device.rbs
rbs-1.0.2 stdlib/logger/0/log_device.rbs
rbs-1.0.1 stdlib/logger/0/log_device.rbs
rbs-1.0.0 stdlib/logger/0/log_device.rbs
rbs-1.0.0.pre2 stdlib/logger/0/log_device.rbs
rbs-1.0.0.pre stdlib/logger/0/log_device.rbs