Configuring SDK Logging
If you have any questions during the development, post them on the Issues page of GitHub. For details about parameters and usage of each API, see the API Reference.
OBS .NET SDK provides the logging function, based on the Apache Log4net open library. You can add log configuration files to enable the logging function. The procedure is as follows:
- Add a reference to log4net.dll in the project.
- Copy configuration file Log4Net.config to Debug or Release under directory bin of the project, to ensure that the configuration file and the project's executable files are in the same directory.
- Modify log levels in file Log4Net.config based on needs.
- Without these operations, the logging function is in the disabled state and no logs will be generated.
- For details about SDK logs, see Log Analysis.
- The save path of log files defaults to be that of the project's executable files and can be changed in Log4Net.config.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot