logger

package
v0.0.0-...-db893c4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NowFunc = time.Now

NowFunc is a function used in testing instead of time.Now

Functions

func WriteAccessLog

func WriteAccessLog(ctx context.Context, req types.HTTPRequest)

WriteAccessLog writes a access log to stderr

func WriteApplicationLog

func WriteApplicationLog(ctx context.Context, s severity.Severity, format string, a ...interface{})

WriteApplicationLog writes a application log to stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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