Documentation ¶
Index ¶
- func BuildSqlxDB() *sqlx.DB
- func BuildZerologLogger(buffer *bytes.Buffer) zerolog.Logger
- func ExtractLogsToMap(b *bytes.Buffer, filters ...filterOpt) (m []map[string]interface{})
- func IgnoreFieldFilter(f string) filterOpt
- type Fmt
- func (f *Fmt) Error(a ...interface{}) (int, error)
- func (f *Fmt) Errorf(format string, a ...interface{}) (int, error)
- func (f *Fmt) Errorln(a ...interface{}) (int, error)
- func (f *Fmt) Info(a ...interface{}) (int, error)
- func (f *Fmt) Infof(format string, a ...interface{}) (int, error)
- func (f *Fmt) Infoln(a ...interface{}) (int, error)
- func (f *Fmt) Success(a ...interface{}) (int, error)
- func (f *Fmt) Successf(format string, a ...interface{}) (int, error)
- func (f *Fmt) Successln(a ...interface{}) (int, error)
- func (f *Fmt) Warn(a ...interface{}) (int, error)
- func (f *Fmt) Warnf(format string, a ...interface{}) (int, error)
- func (f *Fmt) Warnln(a ...interface{}) (int, error)
- type PrintFCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSqlxDB ¶
func ExtractLogsToMap ¶
func IgnoreFieldFilter ¶
func IgnoreFieldFilter(f string) filterOpt
Types ¶
type Fmt ¶
type Fmt struct { InfolnCalls [][]interface{} InfofCalls []PrintFCall InfoCalls [][]interface{} WarnlnCalls [][]interface{} WarnfCalls []PrintFCall WarnCalls [][]interface{} SuccesslnCalls [][]interface{} SuccessfCalls []PrintFCall SuccessCalls [][]interface{} ErrorlnCalls [][]interface{} ErrorfCalls []PrintFCall ErrorCalls [][]interface{} }
func BuildFmtStub ¶
func BuildFmtStub() *Fmt
type PrintFCall ¶
type PrintFCall struct { Format string Args []interface{} }
Click to show internal directories.
Click to hide internal directories.