Documentation
¶
Index ¶
- func Fatal(doing string, err error)
- func Sayf(message string, args ...interface{})
- type StandardLogger
- func (l *StandardLogger) LogHTTPRequest(requestType string, requestURL string)
- func (l *StandardLogger) LogSimpleMessage(message string, a ...interface{})
- func (l *StandardLogger) LogSimpleMessageAndSay(message string, a ...interface{})
- func (l *StandardLogger) NewNexusClient(nexusURL string, username string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StandardLogger ¶ added in v1.0.2
type StandardLogger struct {
// contains filtered or unexported fields
}
StandardLogger enforces log message formats
func NewLogger ¶ added in v1.0.2
func NewLogger(enabled bool) *StandardLogger
NewLogger initializes the standard logger
func (*StandardLogger) LogHTTPRequest ¶ added in v1.0.2
func (l *StandardLogger) LogHTTPRequest(requestType string, requestURL string)
LogHTTPRequest logs and Http Request
func (*StandardLogger) LogSimpleMessage ¶ added in v1.0.2
func (l *StandardLogger) LogSimpleMessage(message string, a ...interface{})
LogSimpleMessage according to a format specifier
func (*StandardLogger) LogSimpleMessageAndSay ¶ added in v1.0.4
func (l *StandardLogger) LogSimpleMessageAndSay(message string, a ...interface{})
LogSimpleMessageAndSay according to a format specifier
func (*StandardLogger) NewNexusClient ¶ added in v1.0.2
func (l *StandardLogger) NewNexusClient(nexusURL string, username string)
NewNexusClient logs when a new Nexus is created
Click to show internal directories.
Click to hide internal directories.