Class: TD::Types::LogStream::File
- Inherits:
-
TD::Types::LogStream
- Object
- Dry::Struct
- Base
- TD::Types::LogStream
- TD::Types::LogStream::File
- Defined in:
- lib/tdlib/types/log_stream/file.rb
Overview
The log is written to a file.
Instance Attribute Summary collapse
-
#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.
-
#path ⇒ String
Path to the file to where the internal TDLib log will be written.
Method Summary
Methods inherited from Base
Instance Attribute Details
#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.
7 8 9 |
# File 'lib/tdlib/types/log_stream/file.rb', line 7 def max_file_size @max_file_size end |
#path ⇒ String
Path to the file to where the internal TDLib log will be written.
7 8 9 |
# File 'lib/tdlib/types/log_stream/file.rb', line 7 def path @path end |