Sha256: b1da17f8140b0d36fa99e8251b4da121a0c45a601b2beeb294670ecfdeea154f

Contents?: true

Size: 620 Bytes

Versions: 2

Compression:

Stored size: 620 Bytes

Contents

module TD::Types
  # The log is written to a file.
  #
  # @attr path [TD::Types::String] Path to the file to where the internal TDLib log will be written.
  # @attr max_file_size [Integer] The maximum size of the file to where the internal TDLib log is written before the
  #   file will be auto-rotated.
  # @attr redirect_stderr [Boolean] Pass true to additionally redirect stderr to the log file.
  #   Ignored on Windows.
  class LogStream::File < LogStream
    attribute :path, TD::Types::String
    attribute :max_file_size, TD::Types::Coercible::Integer
    attribute :redirect_stderr, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/log_stream/file.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/log_stream/file.rb