Class Library LOG

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 7 ans
I want to know what is the correct way to use the LOG (_logger.Warning (exc.Message, exc);) in a Class library?

I have my own "class libraries" and I need to be able to write in the LOG.
Il y a 7 ans
celeru wrote:
I want to know what is the correct way to use the LOG (_logger.Warning (exc.Message, exc);) in a Class library?

I have my own "class libraries" and I need to be able to write in the LOG.


It should be fine to write in a same way!

FYI: You can see _logger.Error(exc.Message, exc); at many places in default code, but that indicates different long level.

Here is the documentation of Logs
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.