log

package
v0.0.0-...-9648343 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package log implements a convenient wrapper for zerolog.

Index

Constants

This section is empty.

Variables

View Source
var Log = log.Logger

Functions

func ConsoleLogger

func ConsoleLogger() zerolog.Logger

func Debug

func Debug() *zerolog.Event

func DefaultLogFormat

func DefaultLogFormat()

func Error

func Error() *zerolog.Event

func Info

func Info() *zerolog.Event

func ServiceLogger

func ServiceLogger(w io.Writer) zerolog.Logger

func Warn

func Warn() *zerolog.Event

Types

type Event

type Event = zerolog.Event

type Logger

type Logger = zerolog.Logger

Jump to

Keyboard shortcuts

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