~rogpeppe/juju-core/themue-058-debug-log-api

« back to all changes in this revision

Viewing changes to state/api/params/internal.go

  • Committer: Frank Mueller
  • Date: 2013-12-20 11:36:11 UTC
  • Revision ID: frank.mueller@canonical.com-20131220113611-0abqsnf63yx8bt0s
apiserver/logger: added logtailer and fixed tailer

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        "launchpad.net/juju-core/version"
11
11
)
12
12
 
 
13
// DebugLogWatching holds the arguments for the debug log watcher. It
 
14
// defines the initial number of lines as well as an entity (machine
 
15
// or unit) to debug defined by its tag. In case of an empty tag the
 
16
// whole debug log is watched.
 
17
type DebugLogWatching struct {
 
18
        Lines int
 
19
        Tag   string
 
20
}
 
21
 
 
22
// DebugLogWatchings holds multiple debug log watching arguments.
 
23
type DebugLogWatchings struct {
 
24
        Watchings []DebugLogWatching
 
25
}
 
26
 
13
27
// Entity identifies a single entity.
14
28
type Entity struct {
15
29
        Tag string