Errorf uses fmt.Sprintf to construct and log a message at error level.
(format string, args ...any)
| 45 | |
| 46 | // Errorf uses fmt.Sprintf to construct and log a message at error level. |
| 47 | func Errorf(format string, args ...any) { |
| 48 | defaultScope.Errorf(format, args...) |
| 49 | } |
| 50 | |
| 51 | // ErrorEnabled returns whether output of messages using this scope is currently enabled for error-level output. |
| 52 | func ErrorEnabled() bool { |
searching dependent graphs…