internal

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 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 Field

type Field = zap.Field

type Option added in v0.0.6

type Option = zap.Option

type XLog added in v0.0.3

type XLog interface {
	Debug(msg string, fields ...Field)
	DebugF(format string, a ...interface{})
	Info(msg string, fields ...Field)
	InfoF(format string, a ...interface{})
	Warn(msg string, fields ...Field)
	WarnF(format string, a ...interface{})
	Error(msg string, fields ...Field)
	ErrorF(format string, a ...interface{})
	DPanic(msg string, fields ...Field)
	DPanicF(format string, a ...interface{})
	Panic(msg string, fields ...Field)
	PanicF(format string, a ...interface{})
	Fatal(msg string, fields ...Field)
	FatalF(format string, a ...interface{})
	Named(s string, opts ...zap.Option) XLog
	With(fields ...Field) XLog
}

Directories

Path Synopsis
writer
rotate/file-rotatelogs
package rotatelogs is a port of File-RotateLogs from Perl (https://metacpan.org/release/File-RotateLogs), and it allows you to automatically rotate output files when you write to them according to the filename pattern that you can specify.
package rotatelogs is a port of File-RotateLogs from Perl (https://metacpan.org/release/File-RotateLogs), and it allows you to automatically rotate output files when you write to them according to the filename pattern that you can specify.

Jump to

Keyboard shortcuts

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