log

package
v0.0.0-...-d841f61 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package log defines the default loggers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(debug bool) zerolog.Logger

NewLogger returns the default logger, that should be used by all the engines. The returned logger is thread-safe, and may be used in multiple goroutines.

func NewTestLogger

func NewTestLogger() zerolog.Logger

NewTestLogger returns the default test logger, that should be used by all the engines.

Types

This section is empty.

Jump to

Keyboard shortcuts

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