Debug logs a message at DebugLevel. The message includes any fields passed at the log site, as well as any fields accumulated on the logger.
(msg string, fields ...Field)
| 235 | // Debug logs a message at DebugLevel. The message includes any fields passed |
| 236 | // at the log site, as well as any fields accumulated on the logger. |
| 237 | func (log *Logger) Debug(msg string, fields ...Field) { |
| 238 | if ce := log.check(DebugLevel, msg); ce != nil { |
| 239 | ce.Write(fields...) |
| 240 | } |
| 241 | } |
| 242 | |
| 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. |