logjuice

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package juice provides utility functions for logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetComponent

func GetComponent() string

GetComponent returns details about the caller function. It uses the runtime package to get the caller's details, including the function name, file name, and line number. This information is used to populate the component field of a GoogleLogEntry, or any other log entry component field. If the caller's details cannot be retrieved, it returns a string indicating that the caller information could not be obtained.

Types

This section is empty.

Jump to

Keyboard shortcuts

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