Problem with log

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Problem with log

Postby SadTroll » Dec 18 20 5:48 am

Hello

We are developing our module for Wingate.
We are trying to register two log sources using the LogRegisterSource function.
One for the Engine.dll module and the other for the UI.dll module. In the case of Engine, everything is ok but in the case of UI.dll,
the LogRegisterSource returns NULL. This is because LogRegisterSourceFunc is not set.
How can we fix it and register two log sources?

Thanks
SadTroll
 
Posts: 14
Joined: Jul 30 20 10:16 pm

Re: Problem with log

Postby adrien » Jan 06 21 11:37 am

Hi

are you trying to log from the UI?

We don't support that. If you needed to log something from your UI you would need to send a message to the engine component and log it from there.

So sources can only be registered in the engine.

There is some formatting that is registered via the UI but that is based on formatters and logs rather than log sources. E.g. for log display.

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5441
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: Google [Bot] and 50 guests

cron