Documentation ¶
Index ¶
- Variables
- type Bytes
- type Logger
- func (l Logger) Error(ctx context.Context, msg string, data ...interface{})
- func (l Logger) Info(ctx context.Context, msg string, data ...interface{})
- func (l Logger) LogMode(lvl logger.LogLevel) logger.Interface
- func (l Logger) Trace(ctx context.Context, begin time.Time, ...)
- func (l Logger) Warn(ctx context.Context, msg string, data ...interface{})
- type RLPHeader
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // The postgres parameter counter for a given query is stored via a uint16, // resulting in a parameter limit of 65535. In order to avoid reaching this limit // we'll utilize a batch size of 3k for inserts, well below as long as the the number // of columns < 20. BatchInsertSize int = 3_000 )
View Source
var (
SlowThresholdMilliseconds = 200
)
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.