public static class TdApi.LogStreamFile extends TdApi.LogStream
TdApi.LogStream.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
maxFileSize
The maximum size of the file to where the internal TDLib log is written before the file will automatically be rotated, in bytes.
|
java.lang.String |
path
Path to the file to where the internal TDLib log will be written.
|
boolean |
redirectStderr
Pass true to additionally redirect stderr to the log file.
|
Constructor and Description |
---|
LogStreamFile()
The log is written to a file.
|
LogStreamFile(java.lang.String path,
long maxFileSize,
boolean redirectStderr)
The log is written to a file.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String path
public long maxFileSize
public boolean redirectStderr
public static final int CONSTRUCTOR
public LogStreamFile()
public LogStreamFile(java.lang.String path, long maxFileSize, boolean redirectStderr)
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 automatically be rotated, in bytes.redirectStderr
- Pass true to additionally redirect stderr to the log file. Ignored on Windows.public int getConstructor()
getConstructor
in class TdApi.LogStream