Info logs a message at InfoLevel. The message includes any fields passed at the log site, as well as any fields accumulated on the logger.
(msg string, fields ...Field)
| 243 | // Info logs a message at InfoLevel. The message includes any fields passed |
| 244 | // at the log site, as well as any fields accumulated on the logger. |
| 245 | func (log *Logger) Info(msg string, fields ...Field) { |
| 246 | if ce := log.check(InfoLevel, msg); ce != nil { |
| 247 | ce.Write(fields...) |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | // Warn logs a message at WarnLevel. The message includes any fields passed |
| 252 | // at the log site, as well as any fields accumulated on the logger. |