| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package main | 5 package main |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "github.com/luci/luci-go/client/internal/logdog/butler/output" | 8 "github.com/luci/luci-go/client/internal/logdog/butler/output" |
| 9 logOutput "github.com/luci/luci-go/client/internal/logdog/butler/output/
log" | 9 logOutput "github.com/luci/luci-go/client/internal/logdog/butler/output/
log" |
| 10 "github.com/luci/luci-go/common/flag/multiflag" | 10 "github.com/luci/luci-go/common/flag/multiflag" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 flags := opt.Flags() | 22 flags := opt.Flags() |
| 23 flags.IntVar(&f.bundleSize, "bundle-size", 1024*1024, | 23 flags.IntVar(&f.bundleSize, "bundle-size", 1024*1024, |
| 24 "Maximum bundle size.") | 24 "Maximum bundle size.") |
| 25 | 25 |
| 26 return opt | 26 return opt |
| 27 } | 27 } |
| 28 | 28 |
| 29 func (f *logOutputFactory) configOutput(a *application) (output.Output, error) { | 29 func (f *logOutputFactory) configOutput(a *application) (output.Output, error) { |
| 30 return logOutput.New(a, f.bundleSize), nil | 30 return logOutput.New(a, f.bundleSize), nil |
| 31 } | 31 } |
| 32 |
| 33 func (f *logOutputFactory) scopes() []string { return nil } |
| OLD | NEW |