Versions in this module Expand all Collapse all v0 v0.2.0 Oct 9, 2021 v0.1.0 Oct 8, 2021 Changes in this version + const DefaultDuration + const DefaultMaxSize + type ESLogger struct + func New(eslc *ESLoggerConfig) *ESLogger + func (esds *ESLogger) Close() + func (esds *ESLogger) Log(keyvals ...interface{}) error + func (esds *ESLogger) Open(ctx context.Context) error + type ESLoggerConfig struct + func NewConfig(address string, streamName string) *ESLoggerConfig + func (eslc *ESLoggerConfig) BasicAuth(user, pass string) *ESLoggerConfig + func (eslc *ESLoggerConfig) BufMaxSize(maxSize int) *ESLoggerConfig + func (eslc *ESLoggerConfig) DisableTimestamp() + func (eslc *ESLoggerConfig) Loggger(logger *log.Logger) *ESLoggerConfig + func (eslc *ESLoggerConfig) Tick(d time.Duration) *ESLoggerConfig + func (eslc *ESLoggerConfig) Transport(rp http.RoundTripper) *ESLoggerConfig