std

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package std provides a simple and flexible logging library with various log levels.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditLn

func AuditLn(correlationID *string, v ...any)

AuditLn logs an audit level message.

func DebugLn

func DebugLn(correlationID *string, v ...any)

DebugLn logs a debug level message.

func ErrorLn

func ErrorLn(correlationID *string, v ...any)

ErrorLn logs an error level message.

func FatalLn

func FatalLn(correlationID *string, v ...any)

FatalLn logs a fatal level message and exits.

func InfoLn

func InfoLn(correlationID *string, v ...any)

InfoLn logs an info level message.

func PrintEnvironmentInfo

func PrintEnvironmentInfo(id *string, envVarsToExpect []string)

PrintEnvironmentInfo prints information about specific environment variables, enabled features, and app's version.

func TraceLn

func TraceLn(correlationID *string, v ...any)

TraceLn logs a trace level message.

func WarnLn

func WarnLn(correlationID *string, v ...any)

WarnLn logs a warning level message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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