durable

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenDatabaseClient

func OpenDatabaseClient(ctx context.Context) *sql.DB

OpenDatabaseClient generate a database client

Types

type Logger

type Logger struct {
	*log.Logger
}

Logger is a custom log

func NewLogger

func NewLogger() *Logger

NewLogger create a new Logger

func (*Logger) Debug

func (logger *Logger) Debug(v ...interface{})

Debug output log TODO

func (*Logger) Debugf

func (logger *Logger) Debugf(format string, v ...interface{})

Debugf output log TODO

func (*Logger) Error

func (logger *Logger) Error(v ...interface{})

Error output log TODO

func (*Logger) Errorf

func (logger *Logger) Errorf(format string, v ...interface{})

Errorf output log TODO

func (*Logger) Info

func (logger *Logger) Info(v ...interface{})

Info output log TODO

func (*Logger) Infof

func (logger *Logger) Infof(format string, v ...interface{})

Infof output log TODO

Jump to

Keyboard shortcuts

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