You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I am not able to see any outputs. Log method is never called. Am I missing something?
Using this from Unity 2020 on .NET 2.0 standard.
BTW, it's on running on Unitys Mono, and I am having SSL connection error which I am trying to debug, is why I need custom logger, cause I can't see any logs from Unity. If possibly I did something wrong here with setting up SSL you can help me correct that, then I wouldn't care about logs further unless I have another issue at some point.
The text was updated successfully, but these errors were encountered:
Your logger is not working because its LogLevel property is greater than any log level. Don't get fooled by the LogLevel enum having a [Flags] attribute, it's a long-standing bug in Swan.Lite.
On a side note, if you don't need to dispose your logger just make Dispose an empty method. Trowing an exception could (and probably will) disrupt Logger's shutdown procedure.
Regarding the SSL connection error, if your program runs under Windows you probably need to register your certificate with the OS security subsystem. EmbedIO can do it for you:
@rdeago Hey thanks a lot for the fast reply! :) I've set the log level to Trace and I can see logs now which is awesome.
Btw, now when I add the WithAutoRegisterCertificate I am getting a nullptr exception, do you know why that could happen?
And, btw, certificate is already installed:
If I omit the WithAutoRegisterCertificate, and test from Insomnia I would get the SSL Connect error, with timeline details as follows. I do not see any logs, so I believe it's not even reaching that part of the server app.
I tried implementing a custom logger:
and then I tried to register it
But I am not able to see any outputs.
Log
method is never called. Am I missing something?Using this from Unity 2020 on .NET 2.0 standard.
BTW, it's on running on Unitys Mono, and I am having SSL connection error which I am trying to debug, is why I need custom logger, cause I can't see any logs from Unity. If possibly I did something wrong here with setting up SSL you can help me correct that, then I wouldn't care about logs further unless I have another issue at some point.
The text was updated successfully, but these errors were encountered: