fix logging
This commit is contained in:
parent
0f7b4c329e
commit
c9117da075
|
@ -125,10 +125,15 @@ namespace tgcli.core
|
|||
{
|
||||
LogStream = new Td.TdApi.LogStream.LogStreamFile
|
||||
{
|
||||
Path = "tdlib.log",
|
||||
Path = Path.Combine(dbdir, "tdlib.log"),
|
||||
MaxFileSize = 10000000
|
||||
}
|
||||
});
|
||||
|
||||
client.Send(new Td.TdApi.SetLogVerbosityLevel
|
||||
{
|
||||
NewVerbosityLevel = 2
|
||||
});
|
||||
|
||||
Console.Clear();
|
||||
ClearCurrentConsoleLine();
|
||||
|
|
Loading…
Reference in a new issue