log

package
v0.0.0-...-0a870c4 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package log ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Log     zerolog.Logger
	Verbose bool
}

Logger for application logging to the terminal

func New

func New() *Logger

New initializes and returns a new Logger

func (*Logger) Out

func (l *Logger) Out(format string, b ...interface{})

Out prints message to the standard output device and sends it to the logger

func (*Logger) OutErr

func (l *Logger) OutErr(format string, b ...interface{})

OutErr prints message to the standard output error device and sends it to the logger

Jump to

Keyboard shortcuts

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