logger

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(serviceName, contextName string, args ...string) log15.Logger

Init instantiates the logger with the specified arguments. The first `args` parameter is the logger filename (default: logger.log).

func InitHandler

func InitHandler(serviceName, contextName, requestID string, args ...string) log15.Logger

InitHandler is generally used in API handlers to display the request ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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