Discover Packages
github.com/jfrog/jfrog-client-go
utils
log
package
Version:
v0.5.8
Opens a new window with list of versions in this module.
Published: Nov 11, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 257
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Debug(a ...interface{})
func Error(a ...interface{})
func Info(a ...interface{})
func Output(a ...interface{})
func SetLogger(newLogger Log )
func Warn(a ...interface{})
type Log interface {
GetLogLevel() LevelType
SetLogLevel(LevelType )
SetOutputWriter(writer io .Writer )
SetLogsWriter(writer io .Writer )
Debug(a ...interface{})
Info(a ...interface{})
Warn(a ...interface{})
Error(a ...interface{})
Output(a ...interface{})
}
Creates a new logger with a given LogLevel.
All logs are written to Stderr by default (output to Stdout).
If logToWriter != nil, logging is done to the provided writer instead.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.