log

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package log manages the interface for Garm application logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	webhook.Logger
}

Logger represents a logger interface for logging.

func New

func New(w io.Writer, requestID string) Logger

New returns a new Logger instance. The logger will automatically append a request ID as prefix, and write logs to the writer.

Jump to

Keyboard shortcuts

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