Documentation ¶
Index ¶
- type Data
- type LinterData
- type LogWrapper
- func (lw LogWrapper) Child(name string) logutils.Log
- func (lw LogWrapper) Errorf(format string, args ...any)
- func (lw LogWrapper) Fatalf(format string, args ...any)
- func (lw LogWrapper) GoString() string
- func (lw LogWrapper) Infof(format string, args ...any)
- func (lw LogWrapper) Panicf(format string, args ...any)
- func (lw LogWrapper) SetLevel(level logutils.LogLevel)
- func (lw LogWrapper) Warnf(format string, args ...any)
- 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 ...any)
func (LogWrapper) Fatalf ¶
func (lw LogWrapper) Fatalf(format string, args ...any)
func (LogWrapper) GoString ¶
func (lw LogWrapper) GoString() string
func (LogWrapper) Infof ¶
func (lw LogWrapper) Infof(format string, args ...any)
func (LogWrapper) Panicf ¶ added in v1.19.0
func (lw LogWrapper) Panicf(format string, args ...any)
func (LogWrapper) SetLevel ¶
func (lw LogWrapper) SetLevel(level logutils.LogLevel)
func (LogWrapper) Warnf ¶
func (lw LogWrapper) Warnf(format string, args ...any)
Click to show internal directories.
Click to hide internal directories.