LogStream
public indirect enum LogStream : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Describes a stream to which TDLib internal log is written
-
The log is written to stderr or an OS specific log
Declaration
Swift
case `default`
-
The log is written to a file
- path: Path to the file to where the internal TDLib log will be written
- maxFileSize: The maximum size of the file to where the internal TDLib log is written before the file will be auto-rotated
Declaration
Swift
case file(path: String, maxFileSize: Int53)
-
The log is written nowhere
Declaration
Swift
case empty