Documentation ¶
Index ¶
- type Logger
- type Option
- func WithAsync(async bool) Option
- func WithBufferLimit(bufferLimit int) Option
- func WithForceStopAsyncSend(forceStopAsyncSend bool) Option
- func WithMaxRetry(maxRetry int) Option
- func WithMaxRetryWait(maxRetryWait int) Option
- func WithRetryWait(retryWait int) Option
- func WithTagPrefix(tagPrefix string) Option
- func WithTimeout(timeout time.Duration) Option
- func WithWriteTimeout(writeTimeout time.Duration) Option
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
}
Logger is fluent logger sdk.
type Option ¶
type Option func(*options)
Option is fluentd logger option.
func WithBufferLimit ¶
WithBufferLimit with config BufferLimit.
func WithForceStopAsyncSend ¶
WithForceStopAsyncSend with config ForceStopAsyncSend.
func WithMaxRetryWait ¶
WithMaxRetryWait with config MaxRetryWait.
func WithTagPrefix ¶
WithTagPrefix with config TagPrefix.
func WithWriteTimeout ¶
WithWriteTimeout with config WriteTimeout.
Click to show internal directories.
Click to hide internal directories.