logger

package
v0.0.0-...-555310e Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogAppError

func LogAppError(e error, input ...interface{}) error

LogAppError logs application-related errors, if enabled, to the app log file.

func LogAppErrorf

func LogAppErrorf(msg string, input ...interface{}) error

LogAppErrorf logs formatted application-related errors, if enabled, to the app log file.

func LogAppInfo

func LogAppInfo(msg string, input ...interface{})

LogAppInfo logs application-related info messages, if enabled, to the app log file.

func LogSteamError

func LogSteamError(e error, input ...interface{}) error

LogSteamError logs Steam-related errors, if enabled, to the Steam log file.

func LogSteamErrorf

func LogSteamErrorf(msg string, input ...interface{}) error

LogSteamErrorf logs formatted Steam-related errors, if enabled, to the Steam log file.

func LogSteamInfo

func LogSteamInfo(msg string, input ...interface{})

LogSteamInfo logs Steam-related info messages, if enabled, to the Steam log file.

func LogWebError

func LogWebError(e error, input ...interface{}) error

LogWebError logs API-related web errors, if enabled, to the web log file.

func LogWebErrorf

func LogWebErrorf(msg string, input ...interface{}) error

LogWebErrorf logs formatted API-related web errors, if enabled, to the web log file.

func LogWebRequest

func LogWebRequest(inner http.Handler, name string) http.Handler

LogWebRequest logs web requests as debug messages, if enabled to stdout, as well as logging web requests as info messages to the web log file.

func WriteDebug

func WriteDebug(msg string, input ...interface{})

WriteDebug writes the specified debug message to to stdout, if enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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