log

package
v0.0.0-beta.9-lw Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(natsConn *nats.Conn, header *pb.Header) *Logger

func (*Logger) Log

func (l *Logger) Log(s string, args ...interface{})

func (*Logger) LogMessage

func (l *Logger) LogMessage(prefix string, msg *interface{})

func (*Logger) LogString

func (l *Logger) LogString(msg *string) error

func (*Logger) PrintMsg

func (l *Logger) PrintMsg(prefix string, msg ...interface{})

Jump to

Keyboard shortcuts

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