common

package
v0.0.0-...-23f444a Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger() io.Writer

func InitLogger

func InitLogger(prefix string, useStdOut bool) *os.File

* Initialize the standard logging in a common way across all yt_box. * * prefix is used to define the name that will show up in the log. useStdOut * defines whether to print logging messages to both the log file and to * standard out. Remember to defer closing the returned file pointer from where * this function is called.

Types

This section is empty.

Jump to

Keyboard shortcuts

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