logger

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

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package logger contains a sligthly extended version of the Zap logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	*zap.SugaredLogger
	// contains filtered or unexported fields
}

Logger is a logger implementation.

func NewLogger

func NewLogger(logLevel string) *Logger

NewLogger is a constructor func for Logger.

func (*Logger) SetLogLevel

func (l *Logger) SetLogLevel(level string) error

SetLogLevel sets the logger level.

Jump to

Keyboard shortcuts

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