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. |
Last Article: Enumeration Constants
Next Article: Pre-defined ACLs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.