log

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: BSD-3-Clause Imports: 3 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger()

InitLogger sets up the logger

func L

func L() *zap.Logger

L returns the logger

func SetLevel

func SetLevel(level zapcore.Level)

SetLevel allows you to set the level of the default gci logger. This will not work if you replace the logger

func SetLogger

func SetLogger(l *zap.Logger)

SetLogger allows you to set the logger to whatever you want

Types

This section is empty.

Jump to

Keyboard shortcuts

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