Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sanitize ¶
Sanitize processes a raw stack trace to strip sensitive information before sending it to logging infrastructure. This removes absolute file paths, function arguments, and normalizes goroutine numbers so that equivalent stack traces always produce the same string.
importPrefixes are module import path prefixes (e.g. "github.com/infracost/cli/") that will be stripped from file references to keep the output concise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.