Log Levels
Type Definition
type Level int
Constants
Constant |
Default Value |
Description |
---|---|---|
LEVEL_OFF |
500 |
Close level. If this level is set, logging will be disabled. |
LEVEL_ERROR |
400 |
Error level. If this level is set, only error information will be printed. |
LEVEL_WARN |
300 |
Warning level. If this level is set, information about logs at the error level and information about partial critical events will be printed. |
LEVEL_INFO |
200 |
Information level. If this level is set, information about logs of the warning level, time consumed for each HTTP/HTTPS request, and time consumed for calling the ObsClient API will be printed. |
LEVEL_DEBUG |
100 |
Debugging level. If this level is set, information about logs at the information level, HTTP/HTTPS request and response headers, and stringToSign information calculated by authentication algorithm will be printed. |
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