logger

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package logger contains functions for a working with application logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(verbose, debug, logJSON bool) (*zap.Logger, error)

New creates new "zap" logger with little customization.

func NewRedisBridge

func NewRedisBridge(zap *zap.Logger) *redisBridge

NewRedisBridge creates instance that can ba used as a bridge between zap and redis client for logging.

Types

This section is empty.

Jump to

Keyboard shortcuts

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