"Debug": MyChat Client console command for extended logging

"Debug": MyChat Client console command for extended logging

"MyChat Client (Windows)", "Console commands (under construction)", "Internal commands", "Debug".

 

Enable or disable debugging mode for storing MyChat Client incoming and outgoing traffic in text files. This mode slows down the program work. It does not shut off after the program restart, so you need to turn it off by a console command "debug off".

 

Syntax

Debug <flag>

 

Parameters

Parameter

Type

Value

flag

string

"on" — enable debugging mode", "off" — disable, empty string — show current status.

 

Result

Enabling/disabling debugging mode. If this mode is enabled, then the following two files will be created in the protocol folder "%USERPROFILE%\MyChat Client\logs\2018\09\14\":
 

debug_in.log — incoming network traffic;

debug_out.log — outgoing network traffic.
 

Everything that sends from MyChat Server to MyChat Client and back logged in these files.

 

Use the command "Logs" o find these files..

 

Example

debug on
[14:49:06] [COMMAND] DEBUG ON

The content of debug_in.log:

[13.09.2018 15:09:28:059] 800F10{"Ticks":72904609}

[13.09.2018 15:09:30:895] 800F10{"Ticks":72907453}

[13.09.2018 15:11:07:408] 80B400{"UIN":6,"UID":2,"Msg":"L$test message","Idx":4045,"ClientType":0,"MsgType":0,"dtUTC":"13.09.2018.12.11.13"}

See also

Clh

Cls

Logs

Profile

Ver