1
// Copyright 2012, 2013 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
7
StartLogTailer = startLogTailer
8
StartChannelWriter = startChannelWriter
11
type Restorer interface {
15
type logLocationRestorer string
17
func (llr logLocationRestorer) Restore() {
18
logLocation = string(llr)
21
func SetLogLocation(location string) Restorer {
22
llr := logLocationRestorer(logLocation)
23
logLocation = location