kslog

package
v0.0.0-...-86bf689 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultLogger

type DefaultLogger struct{}

func (DefaultLogger) Debug

func (l DefaultLogger) Debug(args ...interface{})

func (DefaultLogger) Debugf

func (l DefaultLogger) Debugf(format string, args ...interface{})

func (DefaultLogger) Error

func (l DefaultLogger) Error(args ...interface{})

func (DefaultLogger) Errorf

func (l DefaultLogger) Errorf(format string, args ...interface{})

func (DefaultLogger) Log

func (l DefaultLogger) Log(args ...interface{})

func (DefaultLogger) Logf

func (l DefaultLogger) Logf(format string, args ...interface{})

type KsLogger

type KsLogger interface {
	Error(args ...interface{})
	Errorf(format string, args ...interface{})
	Log(args ...interface{})
	Logf(format string, args ...interface{})
	Debug(args ...interface{})
	Debugf(format string, args ...interface{})
}

type KsTestLogger

type KsTestLogger struct {
	TestLogger
	FailOnError bool
}

func (KsTestLogger) Debug

func (l KsTestLogger) Debug(args ...interface{})

func (KsTestLogger) Debugf

func (l KsTestLogger) Debugf(format string, args ...interface{})

func (KsTestLogger) Error

func (l KsTestLogger) Error(args ...interface{})

func (KsTestLogger) Errorf

func (l KsTestLogger) Errorf(format string, args ...interface{})

type LogLogger

type LogLogger log.Logger

func (*LogLogger) Debug

func (l *LogLogger) Debug(args ...interface{})

func (*LogLogger) Debugf

func (l *LogLogger) Debugf(format string, args ...interface{})

func (*LogLogger) Error

func (l *LogLogger) Error(args ...interface{})

func (*LogLogger) Errorf

func (l *LogLogger) Errorf(format string, args ...interface{})

func (*LogLogger) Log

func (l *LogLogger) Log(args ...interface{})

func (*LogLogger) Logf

func (l *LogLogger) Logf(format string, args ...interface{})

type TestLogger

type TestLogger interface {
	Error(args ...interface{})
	Errorf(format string, args ...interface{})
	Log(args ...interface{})
	Logf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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