WarningDepth logs to the WARNING log at the specified depth. # Experimental Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.
(depth int, args ...any)
| 149 | // Notice: This API is EXPERIMENTAL and may be changed or removed in a |
| 150 | // later release. |
| 151 | func WarningDepth(depth int, args ...any) { |
| 152 | if internal.DepthLoggerV2Impl != nil { |
| 153 | internal.DepthLoggerV2Impl.WarningDepth(depth, args...) |
| 154 | } else { |
| 155 | internal.LoggerV2Impl.Warningln(args...) |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | // ErrorDepth logs to the ERROR log at the specified depth. |
| 160 | // |