logging

package
v1.5.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDownload

func AddDownload(file *models.File, r *http.Request)

AddDownload adds a line to the logfile when a download was requested. Non-Blocking

func AddString

func AddString(text string)

AddString adds a line to the logfile including the current date. Non-Blocking

func Init

func Init(filePath string)

Init sets the path where to write the log file to

Types

This section is empty.

Jump to

Keyboard shortcuts

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