Documentation ¶
Index ¶
- func Debug(msg string)
- func Debugf(format string, a ...interface{})
- func DedupedErrorf(logTypeLimit int, format string, a ...interface{})
- func DedupedInfof(logTypeLimit int, format string, a ...interface{})
- func DedupedWarningf(logTypeLimit int, format string, a ...interface{})
- func Errorf(format string, a ...interface{})
- func Fatalf(format string, a ...interface{})
- func GetLogLevel() string
- func Info(msg string)
- func Infof(format string, a ...interface{})
- func InitLogging(showLogLevelSetMessage bool)
- func Profile(start time.Time, name string)
- func ProfileWithThreshold(start time.Time, threshold time.Duration, name string)
- func Profilef(format string, a ...interface{})
- func SetLogLevel(l string) error
- func Warnf(format string, a ...interface{})
- type Profiler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DedupedErrorf ¶
func DedupedInfof ¶
func DedupedWarningf ¶
func GetLogLevel ¶
func GetLogLevel() string
func InitLogging ¶
func InitLogging(showLogLevelSetMessage bool)
InitLogging sets standard configuration values for logging.
If showLogLevelSetMessage is true, will log an unleveled message specifying the log level post-init.
func ProfileWithThreshold ¶
func SetLogLevel ¶
Types ¶
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
func NewProfiler ¶
func NewProfiler() *Profiler
Click to show internal directories.
Click to hide internal directories.