diff options
author | Jeff Gaston <jeffrygaston@google.com> | 2017-08-10 01:21:09 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-08-10 01:21:09 +0000 |
commit | c3f32070dc7ba229a6f883b12e4799995d9f9526 (patch) | |
tree | a1cc4ab272cede1ba200113cb848525f45c9611e /ui | |
parent | c17e048bad2c89399f025539fbce7eceae966e02 (diff) | |
parent | d1abeb9d982b11fdf4047176d213acc8197c375f (diff) | |
download | build_soong-c3f32070dc7ba229a6f883b12e4799995d9f9526.tar.gz build_soong-c3f32070dc7ba229a6f883b12e4799995d9f9526.tar.bz2 build_soong-c3f32070dc7ba229a6f883b12e4799995d9f9526.zip |
Merge "Revert "Cacheable, multithreaded finder.""
Diffstat (limited to 'ui')
-rw-r--r-- | ui/logger/logger.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/logger/logger.go b/ui/logger/logger.go index 7d9687be..db7e82ad 100644 --- a/ui/logger/logger.go +++ b/ui/logger/logger.go @@ -145,14 +145,13 @@ func New(out io.Writer) *stdLogger { // SetVerbose controls whether Verbose[f|ln] logs to stderr as well as the // file-backed log. -func (s *stdLogger) SetVerbose(v bool) *stdLogger { +func (s *stdLogger) SetVerbose(v bool) { s.verbose = v - return s } // SetOutput controls where the file-backed log will be saved. It will keep // some number of backups of old log files. -func (s *stdLogger) SetOutput(path string) *stdLogger { +func (s *stdLogger) SetOutput(path string) { if f, err := CreateFileWithRotation(path, 5); err == nil { s.mutex.Lock() defer s.mutex.Unlock() @@ -165,7 +164,6 @@ func (s *stdLogger) SetOutput(path string) *stdLogger { } else { s.Fatal(err.Error()) } - return s } // Close disables logging to the file and closes the file handle. |