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.
Click to show internal directories.
Click to hide internal directories.