Info print info
(ctx context.Context, msg string, data ...interface{})
| 136 | |
| 137 | // Info print info |
| 138 | func (l *logger) Info(ctx context.Context, msg string, data ...interface{}) { |
| 139 | if l.LogLevel >= Info { |
| 140 | l.Printf(l.infoStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...) |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | // Warn print warn messages |
| 145 | func (l *logger) Warn(ctx context.Context, msg string, data ...interface{}) { |
nothing calls this directly
no test coverage detected