diff --git a/terraform-provider-constellation/internal/provider/cluster_resource.go b/terraform-provider-constellation/internal/provider/cluster_resource.go index ad0b570d8..db88d9712 100644 --- a/terraform-provider-constellation/internal/provider/cluster_resource.go +++ b/terraform-provider-constellation/internal/provider/cluster_resource.go @@ -1240,14 +1240,20 @@ type tfContextLogger struct { ctx context.Context // bind context to struct to satisfy interface } +// Debug takes a format string and arguments as an input and logs +// them using tflog.Debug func (l *tfContextLogger) Debug(format string, args ...any) { tflog.Debug(l.ctx, fmt.Sprintf(format, args...)) } +// Info takes a format string and arguments as an input and logs +// them using tflog.Info func (l *tfContextLogger) Info(format string, args ...any) { tflog.Info(l.ctx, fmt.Sprintf(format, args...)) } +// Warn takes a format string and arguments as an input and logs +// them using tflog.Warn func (l *tfContextLogger) Warn(format string, args ...any) { tflog.Warn(l.ctx, fmt.Sprintf(format, args...)) }