# Functions
CurrentLogLevel returns the current log level string based the environment vars.
HCLogger returns the default global hclog logger.
Indent adds two spaces to the beginning of each line of the given string, with the goal of making the log level filter understand it as a line continuation rather than possibly as new log lines.
No description provided by the author
IsDebugOrHigher returns whether the current log level is debug or trace.
LogOutput return the default global log io.Writer.
PanicHandler is called to recover from an internal panic in Terraform, and augments the standard stack trace with a more user-friendly error message.
RegisterSink adds a new log sink which writes all logs to the given file.
# Variables
ValidLevels are the log level names that Terraform recognizes.