package
Version:
v0.7.7
Opens a new window with list of versions in this module.
Published: Oct 15, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 536
Opens a new window with list of known importers.
Documentation
¶
Package clog provides a logging interface for cayley packages.
func Errorf(format string, args ...interface{})
Errorf logs error level messages.
func Fatalf(format string, args ...interface{})
Fatalf logs fatal messages and terminates the program.
func Infof(format string, args ...interface{})
Infof logs information level messages.
SetLogger set the clog logging implementation.
SetV sets the clog verbosity level.
V returns whether the current clog verbosity is above the specified level.
func Warningf(format string, args ...interface{})
Warningf logs warning level messages.
type Logger interface {
Infof(format string, args ...interface{})
Warningf(format string, args ...interface{})
Errorf(format string, args ...interface{})
Fatalf(format string, args ...interface{})
V(int) bool
SetV(level int)
}
Logger is the clog logging interface.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.