package
Version:
v1.22.0
Opens a new window with list of versions in this module.
Published: May 25, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Logger custom logger to define logs in kogito application with levels
FromContext returns a logger with predefined values from a context.Context.
GetLogger returns a custom named logger
func (l *Logger) Debug(message string, keysAndValues ...interface{})
Debug alternative for info format with DEBUG named and correct log level
func (l *Logger) Warn(message string, keysAndValues ...interface{})
Warn alternative for info format with sprintf and WARN named.
func (l *Logger) WithValues(keysAndValues ...interface{}) Logger
WithValues adds some key-value pairs of context to a logger.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.