logger

package
v0.0.0-...-5460b4a Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package "logger" wraps a file based logger and provides logger initialization logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(logFile string) (*log.Logger, func())

Get initializes a file logger for the given file path (or using the default) logging file path if not given and returns the resulting logger and a function that should be called to close the logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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