Check out the codes in GitHub.
I generated a C# logging class using this command:
So far, most of my event templates use an ANSI string data type which (I believe) is not supported by C#. As you can see in part 1, I use ANSI data type for my File and Function fields so that I can use
__FUNCTION__ as inputs in C++. Thats why I added a new event template with all fields using UNICODE data types. Again, you can refer to the whole package here for reference.
To use the logging class, I added the generated file to my project. I also added a wrapper class so I can use the
CallerFilePath attributes in C#.
The actual log call:
Check out part 6.---
If you have any questions or feedback, please reach out @flowerinthenyt.