logs

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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

type StdOutLogger struct{}

StdOutLogger logs to stdout

func (StdOutLogger) LogErrorf

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

LogErrorf ...

func (StdOutLogger) LogTracef

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

LogTracef ...

func (StdOutLogger) LogWarningf

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