warnings

package
v0.0.0-...-472ff39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const URL string = "https://github.com/ARM-software/bob-build/tree/master/docs/warnings/"

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action string
const (
	IgnoreAction  Action = "ignore"
	WarningAction Action = "warning"
	ErrorAction   Action = "error"
)

type Category

type Category string
const (
	DefaultSrcsWarning             Category = "default-srcs"
	GenerateRuleWarning            Category = "generate-rule"
	RelativeUpLinkWarning          Category = "relative-up-link"
	DeprecatedFilegroupSrcs        Category = "deprecated-filegroup-srcs"
	UnmatchedNonCompileSrcsWarning Category = "unmatched-non-compile-srcs"
	DeprecatedOwnerProp            Category = "deprecated-owner-prop"
)

type WarningLogger

type WarningLogger struct {
	// contains filtered or unexported fields
}

func New

func New(out io.Writer, filters string) *WarningLogger

func (*WarningLogger) ErrorWarnings

func (w *WarningLogger) ErrorWarnings() int

func (*WarningLogger) InfoMessage

func (w *WarningLogger) InfoMessage() string

func (*WarningLogger) Warn

func (w *WarningLogger) Warn(category Category, bpFile string, bpModule string, args ...interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL