logs

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StdOutLogger added in v0.6.0

type StdOutLogger struct{}

StdOutLogger logs to stdout

func (StdOutLogger) LogErrorf added in v0.6.0

func (s StdOutLogger) LogErrorf(txid string, format string, args ...interface{})

LogErrorf ...

func (StdOutLogger) LogTracef added in v0.6.0

func (s StdOutLogger) LogTracef(txid string, format string, args ...interface{})

LogTracef ...

func (StdOutLogger) LogWarningf added in v0.6.0

func (s StdOutLogger) LogWarningf(txid string, format string, args ...interface{})

LogWarningf ...

type Writer

type Writer interface {
	LogTracef(txid string, format string, args ...interface{})
	LogWarningf(txid string, format string, args ...interface{})
	LogErrorf(txid string, format string, args ...interface{})
}

Writer writes logs

Jump to

Keyboard shortcuts

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