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