zssky

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZsskyLog

func NewZsskyLog() log.Logger

NewZsskyLog create new zssky log with default collection name.

Types

type Log

type Log struct {
	// contains filtered or unexported fields
}

Log is log adapter.

func (*Log) Close

func (l *Log) Close() error

Close connection

func (*Log) Debug

func (l *Log) Debug(v ...interface{})

Debug - debug log

func (*Log) Debugf

func (l *Log) Debugf(format string, v ...interface{})

Debugf - debug format log

func (*Log) Error

func (l *Log) Error(v ...interface{})

Error - error log

func (*Log) Errorf

func (l *Log) Errorf(format string, v ...interface{})

Errorf - error format log

func (*Log) Fatal

func (l *Log) Fatal(v ...interface{})

Fatal - fatal format log

func (*Log) Fatalf

func (l *Log) Fatalf(format string, v ...interface{})

Fatalf - fatal format log

func (*Log) Fatalln

func (l *Log) Fatalln(v ...interface{})

Fatalln - fatal log

func (*Log) Info

func (l *Log) Info(v ...interface{})

Info - info format log

func (*Log) Infof

func (l *Log) Infof(format string, v ...interface{})

Infof - info format log

func (*Log) Panic

func (l *Log) Panic(v ...interface{})

Panic - panic

func (*Log) Panicf

func (l *Log) Panicf(format string, v ...interface{})

Panicf - panic format value

func (*Log) Panicln

func (l *Log) Panicln(v ...interface{})

Panicln - panic

func (*Log) Print

func (l *Log) Print(v ...interface{})

Print - print format log

func (*Log) Printf

func (l *Log) Printf(format string, v ...interface{})

Printf - print format log

func (*Log) Println

func (l *Log) Println(v ...interface{})

Println - print value

func (*Log) StartAndGC

func (l *Log) StartAndGC(config log.Config) error

StartAndGC start log adapter.

func (*Log) Warn

func (l *Log) Warn(v ...interface{})

Warn - warn log

func (*Log) Warnf

func (l *Log) Warnf(format string, v ...interface{})

Warnf - warn format log

func (*Log) Warning

func (l *Log) Warning(v ...interface{})

Warning - Warning log

func (*Log) Warningf

func (l *Log) Warningf(format string, v ...interface{})

Warningf - Warning format log

Jump to

Keyboard shortcuts

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