logging

package
v0.0.0-...-15b4a15 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLog

func GetLog() *log.Logger

GetLog returns a pointer to the global logging facilities

func Init

func Init(path string, includeStdout bool)

Init initializes the server logging facilities, including the possibility of printing all log messages to stdout

func Shutdown

func Shutdown()

Shutdown shuts down the global logging facilities

func Write

func Write(msg string)

Write prints a message to the log and stdout if turned on

func Writef

func Writef(msg string, v ...interface{})

Writef is a Printf() interface to the log and possibly stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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