log

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package log is meant to provide a global logger for the application and provide logging functionality interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(format string, v ...any)

Debug runs Logger.Debug with a global logger. Deprecated: use the new structured logger - `launchr.Log().Debug(msg, argName1, argVal1, argName2, ...)`

func Err

func Err(format string, v ...any)

Err runs Logger.Err with a global logger. Deprecated: use the new structured logger - `launchr.Log().Error(msg, argName1, argVal1, argName2, ...)`

func Error added in v0.16.0

func Error(format string, v ...any)

Error runs Logger.Err with a global logger. Deprecated: use new structured logger - `launchr.Log().Error(msg, argName1, argVal1, argName2, ...)`

func Fatal

func Fatal(format string, v ...any)

Fatal runs Logger.Fatal with a global logger. Deprecated: no longer supported with no direct replacement.

func Info

func Info(format string, v ...any)

Info runs Logger.Info with a global logger. Deprecated: use the new structured logger - `launchr.Log().Info(msg, argName1, argVal1, argName2, ...)`

func Panic

func Panic(format string, v ...any)

Panic runs Logger.Panic with a global logger. Deprecated: no longer supported with no direct replacement.

func Warn

func Warn(format string, v ...any)

Warn runs Logger.Warn with a global logger. Deprecated: use the new structured logger - `launchr.Log().Warn(msg, argName1, argVal1, argName2, ...)`

Types

This section is empty.

Jump to

Keyboard shortcuts

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