mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-22 08:09:13 -04:00
added comments to avoid confusion
This commit is contained in:
parent
f8a1d92138
commit
f7d2e1c155
@ -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...))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user