Error print error messages
(ctx context.Context, msg string, data ...interface{})
| 150 | |
| 151 | // Error print error messages |
| 152 | func (l *logger) Error(ctx context.Context, msg string, data ...interface{}) { |
| 153 | if l.LogLevel >= Error { |
| 154 | l.Printf(l.errStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...) |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | // Trace print sql message |
| 159 | // |
nothing calls this directly
no test coverage detected