logger
package v1.3.1
Go to latest Published: Aug 27, 2025 License:GPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:4 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- type BuilderLogger
- func (l *BuilderLogger) Info(msg string)
- func (l *BuilderLogger) Stderr() io.Writer
- func (l *BuilderLogger) Stdout() io.Writer
- func (l *BuilderLogger) VerbosityLevel() Verbosity
- func (l *BuilderLogger) Warn(msg string)
- func (l *BuilderLogger) WarningsLevel() string
- func (l *BuilderLogger) WriteStderr(data []byte) (int, error)
- func (l *BuilderLogger) WriteStdout(data []byte) (int, error)
- type Verbosity
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeBuilderLogger¶
type BuilderLogger struct {// contains filtered or unexported fields}BuilderLogger fixdoc
funcNew¶
func New(stdout, stderrio.Writer, verbosityVerbosity, warningsLevelstring) *BuilderLogger
New creates a new Logger to the given output streams with the specified verbosity and warnings level
func (*BuilderLogger)VerbosityLevel¶
func (l *BuilderLogger) VerbosityLevel()Verbosity
VerbosityLevel returns the verbosity level of the logger
func (*BuilderLogger)WarningsLevel¶
func (l *BuilderLogger) WarningsLevel()string
WarningsLevel fixdoc
func (*BuilderLogger)WriteStderr¶
func (l *BuilderLogger) WriteStderr(data []byte) (int,error)
WriteStderr fixdoc
func (*BuilderLogger)WriteStdout¶
func (l *BuilderLogger) WriteStdout(data []byte) (int,error)
WriteStdout fixdoc
Click to show internal directories.
Click to hide internal directories.