Documentation ¶
Index ¶
- type Data
- type LinterData
- type LogWrapper
- func (lw LogWrapper) Child(name string) logutils.Log
- func (lw LogWrapper) Errorf(format string, args ...interface{})
- func (lw LogWrapper) Fatalf(format string, args ...interface{})
- func (lw LogWrapper) GoString() string
- func (lw LogWrapper) Infof(format string, args ...interface{})
- func (lw LogWrapper) SetLevel(level logutils.LogLevel)
- func (lw LogWrapper) Warnf(format string, args ...interface{})
- type Warning
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Warnings []Warning `json:",omitempty"` Linters []LinterData `json:",omitempty"` Error string `json:",omitempty"` }
type LinterData ¶
type LogWrapper ¶
type LogWrapper struct {
// contains filtered or unexported fields
}
func NewLogWrapper ¶
func NewLogWrapper(log logutils.Log, reportData *Data) *LogWrapper
func (LogWrapper) Errorf ¶
func (lw LogWrapper) Errorf(format string, args ...interface{})
func (LogWrapper) Fatalf ¶
func (lw LogWrapper) Fatalf(format string, args ...interface{})
func (LogWrapper) GoString ¶
func (lw LogWrapper) GoString() string
func (LogWrapper) Infof ¶
func (lw LogWrapper) Infof(format string, args ...interface{})
func (LogWrapper) SetLevel ¶
func (lw LogWrapper) SetLevel(level logutils.LogLevel)
func (LogWrapper) Warnf ¶
func (lw LogWrapper) Warnf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.