On Tue, Sep 6, 2016 at 9:00 AM, wrote:
>
> Hey, It's commented "release lock while getting caller info - it's
> expensive" in source code of /src/log/log.go line:150.
>
> I'm confused with what makes it expensive if we didn't unlock the l.mu ?
> Does goroutines have context ?
As the comment sugg
Hey, It's commented "release lock while getting caller info - it's
expensive" in source code of /src/log/log.go line:150.
I'm confused with what makes it expensive if we didn't unlock the l.mu ?
Does goroutines have context ?
func (l *Logger) Output(calldepth int, s string) error {
now :=