loggerCLI

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const ParentFieldName = "parent"
View Source
const TimestampFieldName = "timestamp"

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerCLI

type LoggerCLI logger.Logger

func New

func New(json, debug, trace bool) *LoggerCLI

func (*LoggerCLI) Debug

func (l *LoggerCLI) Debug(format string, args ...interface{}) *LoggerCLI

func (*LoggerCLI) Error

func (l *LoggerCLI) Error(format string, args ...interface{}) *LoggerCLI

func (*LoggerCLI) ErrorFrom

func (l *LoggerCLI) ErrorFrom(e error) *LoggerCLI

func (*LoggerCLI) Fatal

func (l *LoggerCLI) Fatal(format string, args ...interface{})

func (*LoggerCLI) FatalFrom

func (l *LoggerCLI) FatalFrom(e error)

func (*LoggerCLI) Info

func (l *LoggerCLI) Info(format string, args ...interface{}) *LoggerCLI

func (*LoggerCLI) Trace

func (l *LoggerCLI) Trace(format string, args ...interface{}) *LoggerCLI

func (*LoggerCLI) Warn

func (l *LoggerCLI) Warn(format string, args ...interface{}) *LoggerCLI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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