Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringLogger ¶
type StringLogger interface { filter.FilterLogger GetStringLogs() []string AppendString(str string) AppendStringErr(str string, err error) }
func New ¶
func New(filterOpts []filter.FilterOption, logOpts ...log.LogOption) (StringLogger, error)
New creates a new instance of the StringLogger interface, which is a logger implementation that logs messages to an array and allows retrieving the logged messages.
Click to show internal directories.
Click to hide internal directories.