Class: TD::Types::LogStream::File

Inherits:
TD::Types::LogStream show all
Defined in:
lib/tdlib/types/log_stream/file.rb

Overview

The log is written to a file.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#max_file_sizeInteger

The maximum size of the file to where the internal TDLib log is written before the file will be auto-rotated.

Returns:

  • (Integer)

    the current value of max_file_size



7
8
9
# File 'lib/tdlib/types/log_stream/file.rb', line 7

def max_file_size
  @max_file_size
end

#pathString

Path to the file to where the internal TDLib log will be written.

Returns:

  • (String)

    the current value of path



7
8
9
# File 'lib/tdlib/types/log_stream/file.rb', line 7

def path
  @path
end