Documentation ¶
Index ¶
- func Debug(msg string, keysAndValues ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(err error, msg string, keysAndValues ...interface{})
- func Errorf(err error, format string, args ...interface{})
- func Info(msg string, keysAndValues ...interface{})
- func Infof(format string, args ...interface{})
- func InitForCmd()
- type Injectable
- type Logger
- func (l Logger) AsLogger() logr.Logger
- func (l Logger) Debug(msg string, keysAndValues ...interface{})
- func (l Logger) Debugf(format string, args ...interface{})
- func (l Logger) Error(err error, msg string, keysAndValues ...interface{})
- func (l Logger) Errorf(err error, format string, args ...interface{})
- func (l Logger) ForBuild(target *v1.Build) Logger
- func (l Logger) ForCatalog(target *v1.CamelCatalog) Logger
- func (l Logger) ForIntegration(target *v1.Integration) Logger
- func (l Logger) ForIntegrationKit(target *v1.IntegrationKit) Logger
- func (l Logger) ForIntegrationPlatform(target *v1.IntegrationPlatform) Logger
- func (l Logger) ForIntegrationProfile(target *v1.IntegrationProfile) Logger
- func (l Logger) ForKamelet(target *v1.Kamelet) Logger
- func (l Logger) ForKameletBinding(target *v1alpha1.KameletBinding) Logger
- func (l Logger) ForPipe(target *v1.Pipe) Logger
- func (l Logger) Info(msg string, keysAndValues ...interface{})
- func (l Logger) Infof(format string, args ...interface{})
- func (l Logger) WithName(name string) Logger
- func (l Logger) WithValues(keysAndValues ...interface{}) Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitForCmd ¶ added in v2.2.0
func InitForCmd()
InitForCmd is required to avoid nil pointer exceptions from command line.
Types ¶
type Injectable ¶
type Injectable interface {
InjectLogger(logger Logger)
}
Injectable identifies objects that can receive a Logger.
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger --.
var Log Logger
Log --.
func ForIntegrationKit ¶
func ForIntegrationKit(target *v1.IntegrationKit) Logger
ForIntegrationKit --.
func ForIntegrationPlatform ¶
func ForIntegrationPlatform(target *v1.IntegrationPlatform) Logger
ForIntegrationPlatform --.
func (Logger) ForCatalog ¶
func (l Logger) ForCatalog(target *v1.CamelCatalog) Logger
ForCatalog --.
func (Logger) ForIntegration ¶
func (l Logger) ForIntegration(target *v1.Integration) Logger
ForIntegration --.
func (Logger) ForIntegrationKit ¶
func (l Logger) ForIntegrationKit(target *v1.IntegrationKit) Logger
ForIntegrationKit --.
func (Logger) ForIntegrationPlatform ¶
func (l Logger) ForIntegrationPlatform(target *v1.IntegrationPlatform) Logger
ForIntegrationPlatform --.
func (Logger) ForIntegrationProfile ¶ added in v2.3.0
func (l Logger) ForIntegrationProfile(target *v1.IntegrationProfile) Logger
ForIntegrationProfile --.
func (Logger) ForKameletBinding ¶
func (l Logger) ForKameletBinding(target *v1alpha1.KameletBinding) Logger
ForKameletBinding --. Deprecated: use ForPipe instead.
func (Logger) WithValues ¶
WithValues --.
Click to show internal directories.
Click to hide internal directories.