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