barometer: update DMA's vendoring packages
[barometer.git] / src / dma / vendor / github.com / labstack / echo / log.go
1 package echo
2
3 import (
4         "io"
5
6         "github.com/labstack/gommon/log"
7 )
8
9 type (
10         // Logger defines the logging interface.
11         Logger interface {
12                 Output() io.Writer
13                 SetOutput(w io.Writer)
14                 Prefix() string
15                 SetPrefix(p string)
16                 Level() log.Lvl
17                 SetLevel(v log.Lvl)
18                 SetHeader(h string)
19                 Print(i ...interface{})
20                 Printf(format string, args ...interface{})
21                 Printj(j log.JSON)
22                 Debug(i ...interface{})
23                 Debugf(format string, args ...interface{})
24                 Debugj(j log.JSON)
25                 Info(i ...interface{})
26                 Infof(format string, args ...interface{})
27                 Infoj(j log.JSON)
28                 Warn(i ...interface{})
29                 Warnf(format string, args ...interface{})
30                 Warnj(j log.JSON)
31                 Error(i ...interface{})
32                 Errorf(format string, args ...interface{})
33                 Errorj(j log.JSON)
34                 Fatal(i ...interface{})
35                 Fatalj(j log.JSON)
36                 Fatalf(format string, args ...interface{})
37                 Panic(i ...interface{})
38                 Panicj(j log.JSON)
39                 Panicf(format string, args ...interface{})
40         }
41 )