log

package
v0.0.0-...-aad41ea Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close trims and closes the log file, errors are ignored.

func Init

func Init() error

Init initialises log file and logger.

func ShowWrite

func ShowWrite(fmtstr string, args ...interface{})

ShowWrite writes a string to Stdout and passes the arguments on to the log Writer function.

func Write

func Write(fmtstr string, args ...interface{})

Write writes a string to the log file if there is an initialized logger. Depending on the number of arguments, Write behaves like Print or Printf, the first argument must always be a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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