Documentation ¶
Index ¶
- type Logger
- func (self *Logger) AddFile(file *os.File)
- func (self *Logger) Close()
- func (self *Logger) FilteredLines() []string
- func (self *Logger) FoundProblems() bool
- func (self *Logger) HandleError(err error, source string)
- func (self *Logger) HandleWarning(err error, source string)
- func (self *Logger) Header(str string)
- func (self *Logger) PrintErrors() int
- func (self *Logger) PrintRawf(format string, args ...any)
- func (self *Logger) PrintRawln(str ...string)
- func (self *Logger) PrintWarnings() int
- func (self *Logger) Printf(format string, args ...any)
- func (self *Logger) Println(str ...string)
- type Problem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { Warnings []Problem Errors []Problem Lines []string // contains filtered or unexported fields }
func (*Logger) FilteredLines ¶
func (*Logger) FoundProblems ¶
func (*Logger) HandleError ¶
func (*Logger) HandleWarning ¶
func (*Logger) PrintErrors ¶
func (*Logger) PrintRawln ¶
func (*Logger) PrintWarnings ¶
Click to show internal directories.
Click to hide internal directories.