memlogger

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryLogger

type MemoryLogger struct {
	Infos    []string
	Warnings []string
	Errors   []string
}

MemoryLogger is an in memory logger for tests.

func (*MemoryLogger) Count

func (m *MemoryLogger) Count() int

func (*MemoryLogger) Error

func (m *MemoryLogger) Error(args ...interface{})

func (*MemoryLogger) Errorf

func (m *MemoryLogger) Errorf(format string, args ...interface{})

func (*MemoryLogger) Info

func (m *MemoryLogger) Info(args ...interface{})

func (*MemoryLogger) Infof

func (m *MemoryLogger) Infof(format string, args ...interface{})

func (*MemoryLogger) Reset

func (m *MemoryLogger) Reset()

func (*MemoryLogger) Warning

func (m *MemoryLogger) Warning(args ...interface{})

func (*MemoryLogger) Warningf

func (m *MemoryLogger) Warningf(format string, args ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL