logger

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package logger provides logging functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLog

func AccessLog(ip string, method, path string, status int, duration time.Duration)

AccessLog logs server requests

func Init

func Init()

Init initializes the logger

func LoadConfig

func LoadConfig(data []byte)

LoadConfig loads the logger config from the given configuration data

Types

This section is empty.

Jump to

Keyboard shortcuts

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