func newEntry()

in galog.go [446:457]


func newEntry(level Level, prefix string, msg string) *LogEntry {
	pc, file, line, _ := runtime.Caller(3)
	return &LogEntry{
		Level:    level,
		When:     time.Now(),
		File:     filepath.Base(file),
		Line:     line,
		Function: runtime.FuncForPC(pc).Name(),
		Message:  msg,
		Prefix:   prefix,
	}
}