Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Close()
- func (l *Logger) Error(obj interface{})
- func (l *Logger) Fatal(obj interface{})
- func (l *Logger) Flush()
- func (l *Logger) Info(obj interface{})
- func (l *Logger) ListenError(c chan error)
- func (l *Logger) ListenFatal(c chan error)
- func (l *Logger) ListenInfo(messages chan interface{}, wg *sync.WaitGroup)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func New ¶
func New(infoWriter grw.ByteWriteCloser, errorWriter grw.ByteWriteCloser) *Logger
func NewLoggerFromConfig ¶
func (*Logger) ListenError ¶
func (*Logger) ListenFatal ¶
func (*Logger) ListenInfo ¶
Click to show internal directories.
Click to hide internal directories.