log15

package module
v0.0.0-...-f5d10a2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: BSD-3-Clause Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level string, json bool) (logging.Logger, error)

New opens a log15.Logger, and if it will be pointed to a real file, it installs a SIGHUP handler that will atomically reopen the file and redirect all future logging operations.

func Wrap

func Wrap(l log.Logger) logging.Logger

Wrap returns a new logging.Logger from an existing log.Logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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