Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Problem with log

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

Re: Problem with log

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
Post a reply