diff options
| author | Rob Pike <r@golang.org> | 2011-04-06 11:48:03 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2011-04-06 11:48:03 -0700 |
| commit | 5ee13c0d59de2f26dacc53046ce265232eeb6f2b (patch) | |
| tree | 1679f68083c8d5bf5d9408f0c6f3d2ec9eef978f /src/pkg/exec/exec.go | |
| parent | 41971434d1ac17d3a978a651e619d43e266ddbba (diff) | |
| download | go-5ee13c0d59de2f26dacc53046ce265232eeb6f2b.tar.xz | |
log: generalize getting and setting flags and prefix.
- used to be only for standard log, not for user-built.
- there were no getters.
Also rearrange the code a little so we can avoid allocating
a buffer on every call. Logging is expensive but we should
avoid unnecessary cost.
This should have no effect on existing code.
R=rsc
CC=golang-dev
https://golang.org/cl/4363045
Diffstat (limited to 'src/pkg/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
