Clamb Posted October 16, 2022 Report Posted October 16, 2022 Hi, another small question. Is there a recommended way to combine the log from your DLL and mine into a single log, including the capability to select different logLevels? Of course, I could parse the LogEventArgs.LogEntry to get the logLevel from this entry and pass it to my own logging class, but this doesn't seem very nice. On the other hand, I also can't find of way of adding my own log into the DLL/FSUIPC log. Best regards Axel
Paul Henty Posted October 16, 2022 Report Posted October 16, 2022 Quote , I could parse the LogEventArgs.LogEntry to get the logLevel from this entry and pass it to my own logging class, but this doesn't seem very nice. That's the only way to to it. That string (LogEventArgs.LogEntry) is the only thing I get from the WAPID dll as far as logging goes. The internal logging system is not exposed at all. Quote On the other hand, I also can't find of way of adding my own log into the DLL/FSUIPC log. I don't know of any way for external programs to write to the FSUIPC log. The flight-sim eco-system is made up of many different bits of software, from different authors. Most have evolved over decades. It's inevitable that the pieces don't interact with each other as well as we might hope. Paul
Clamb Posted October 19, 2022 Author Report Posted October 19, 2022 Sure, no problem. I just wanted to avoid missing something obvious 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now