nlog

package
v1.0.1-0...-bd443ad Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NLog

type NLog struct {
	*logrus.Entry
}

func NewLogger

func NewLogger(cfg *ncfg.NConfig) *NLog

func (*NLog) CloseAndWait

func (nlog *NLog) CloseAndWait(ctx context.Context)

func (*NLog) Get

func (nlog *NLog) Get(ctx context.Context, location ...string) *NLog

func (*NLog) SetUpLogFile

func (nlog *NLog) SetUpLogFile(f string)

func (*NLog) WithError

func (nlog *NLog) WithError(value interface{}) *NLog

func (*NLog) WithField

func (nlog *NLog) WithField(key string, value interface{}) *NLog

func (*NLog) WithFuncName

func (nlog *NLog) WithFuncName(value interface{}) *NLog

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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