Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: client/cmd/logdog_butler/output_log.go

Issue 1975683002: LogDog: Implement prefix registration in Butler. (Closed) Base URL: https://github.com/luci/luci-go@logdog-butler-register-collector
Patch Set: Rebarse Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « client/cmd/logdog_butler/output.go ('k') | client/cmd/logdog_butler/output_logdog.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « client/cmd/logdog_butler/output.go ('k') | client/cmd/logdog_butler/output_logdog.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698