Documentation
¶
Overview ¶
Copyright (c) 2015 Pagoda Box Inc
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Fatal(string, ...interface{})
Error(string, ...interface{})
Warn(string, ...interface{})
Info(string, ...interface{})
Debug(string, ...interface{})
Trace(string, ...interface{})
}
Logger is a simple interface that's designed to be intentionally generic to allow many different types of Logger's to satisfy its interface
type Logtap ¶
type Logtap struct {
// contains filtered or unexported fields
}
func (*Logtap) WriteMessage ¶
WriteMessage broadcasts to all drains in seperate go routines Returns once all drains have received the message, but may not have processed the message yet