Versions in this module Expand all Collapse all v0 v0.7.2-rc1 Dec 15, 2016 v0.7.1 Nov 10, 2016 Changes in this version + func LevelFilter() *logutils.LevelFilter + func Setup(config *Config, ui cli.Ui) (*logutils.LevelFilter, *GatedWriter, *LogWriter, io.Writer, bool) + func ValidateLevelFilter(minLevel logutils.LogLevel, filter *logutils.LevelFilter) bool + type Config struct + EnableSyslog bool + LogLevel string + SyslogFacility string + type GatedWriter struct + Writer io.Writer + func (w *GatedWriter) Flush() + func (w *GatedWriter) Write(p []byte) (n int, err error) + type LogHandler interface + HandleLog func(string) + type LogWriter struct + func NewLogWriter(buf int) *LogWriter + func (l *LogWriter) DeregisterHandler(lh LogHandler) + func (l *LogWriter) RegisterHandler(lh LogHandler) + func (l *LogWriter) Write(p []byte) (n int, err error) + type SyslogWrapper struct + func (s *SyslogWrapper) Write(p []byte) (int, error)