Documentation
¶
Index ¶
- Constants
- Variables
- func Log(l logging.Logger, msg string, attrs ...slog.Attr)
- func LogDepth(l logging.Logger, depth int, msg string, attrs ...slog.Attr)
- func LogInit(l logging.Logger, msg string, attrs ...slog.Attr)
- func LogInitDepth(l logging.Logger, depth int, msg string, attrs ...slog.Attr)
- func RuntimeCallerStr(depth int) (string, bool)
Constants ¶
View Source
const ( // these must be kept in sync with lvlHappy in logging/logging.go LogLevelHappy logging.Level = logging.Level(math.MinInt) LogLevelHappyInit logging.Level = LogLevelHappy + 1 )
Variables ¶
View Source
var TerminateSessionEvent = events.New("session", "terminate")
Functions ¶
func RuntimeCallerStr ¶ added in v0.100.0
RuntimeCallerStr is utility function to get the caller information. It returns the file and line number of the caller in form of string. e.g. /path/to/file.go:123
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.