log

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package log implements a simple logging package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, fields ...zap.Field)

Debug wraps the zap Logger's Debug method.

func EnabledLevel

func EnabledLevel(level zapcore.Level) bool

EnabledLevel wraps the zap Level's Enabled method.

func Error

func Error(msg string, fields ...zap.Field)

Error wraps the zap Logger's Error method.

func Fatal

func Fatal(msg string, fields ...zap.Field)

func Info

func Info(msg string, fields ...zap.Field)

Info wraps the zap Logger's Info method.

func SetLevel

func SetLevel(level zapcore.Level)

SetLevel wraps the zap Level's SetLevel method.

func Sync

func Sync()

Sync wraps the zap Logger's Sync method.

func Warn

func Warn(msg string, fields ...zap.Field)

Warn wraps the zap Logger's Warn method.

Types

This section is empty.

Jump to

Keyboard shortcuts

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