slogger: github.com/mongodb/slogger/v2/slogger/async_appender Index | Files

package async_appender

import "github.com/mongodb/slogger/v2/slogger/async_appender"

Index

Package Files

async_appender.go

type AsyncAppender Uses

type AsyncAppender struct {
    Appender slogger.Appender
    // contains filtered or unexported fields
}

func New Uses

func New(appender slogger.Appender, channelCapacity int, errHandler func(error)) *AsyncAppender

func (*AsyncAppender) Append Uses

func (self *AsyncAppender) Append(log *slogger.Log) error

func (*AsyncAppender) Flush Uses

func (self *AsyncAppender) Flush() error

Package async_appender imports 2 packages (graph). Updated 2019-11-15. Refresh now. Tools for package owners.