filelogger

package
v0.0.0-...-c3677c5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(logDir, baseName, extension string, maxFileSize int64)

Initialize Installs Logrus hook for file logger -- Does not modify the default output file

func NewHook

func NewHook(logDir, baseName, extension string, maxFileSize int64, now clock) logrus.Hook

NewHook builds a logrus.Hook that writes output to rotated log files

Types

This section is empty.

Jump to

Keyboard shortcuts

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