log

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package log contains the loggers for the CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level zapcore.Level) *zap.SugaredLogger

New returns a logger with the given level

func NewDebugLevel

func NewDebugLevel() *zap.SugaredLogger

NewDebugLevel returns a logger with debug level

func NewForUT

func NewForUT(buffer *zaptest.Buffer, level zapcore.Level) *zap.SugaredLogger

NewForUT returns a logger with the given level and buffer for unit testing

func NewInfoLevel

func NewInfoLevel() *zap.SugaredLogger

NewInfoLevel returns a logger with info level

Types

This section is empty.

Jump to

Keyboard shortcuts

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