MCPcopy Index your code
hub / github.com/koding/kite / Logger

Interface Logger

logger.go:24–41  ·  view source on GitHub ↗

Logger is the interface used to log messages in different levels.

Source from the content-addressed store, hash-verified

22
23// Logger is the interface used to log messages in different levels.
24type Logger interface {
25 // Fatal logs to the FATAL, ERROR, WARNING, INFO and DEBUG levels,
26 // including a stack trace of all running goroutines, then calls
27 // os.Exit(1).
28 Fatal(format string, args ...interface{})
29
30 // Error logs to the ERROR, WARNING, INFO and DEBUG level.
31 Error(format string, args ...interface{})
32
33 // Warning logs to the WARNING, INFO and DEBUG level.
34 Warning(format string, args ...interface{})
35
36 // Info logs to the INFO and DEBUG level.
37 Info(format string, args ...interface{})
38
39 // Debug logs to the DEBUG level.
40 Debug(format string, args ...interface{})
41}
42
43// getLogLevel returns the logging level defined via the KITE_LOG_LEVEL
44// environment. It returns Info by default if no environment variable

Callers 40

sendHeartbeatsMethod · 0.80
RunMethod · 0.80
UseTLSFileMethod · 0.80
TestMethod_ThrottlingFunction · 0.80
TestMethod_LatestFunction · 0.80
TestMethod_FirstFunction · 0.80
TestMethod_ErrorFunction · 0.80
TestMethod_BaseFunction · 0.80
processHeartbeatsMethod · 0.65
RegisterHTTPForeverMethod · 0.65
RegisterHTTPMethod · 0.65
RunMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected