Documentation
¶
Index ¶
- type Logger
- func (l *Logger) PrintDebug(ctx context.Context, message string, properties map[string]string)
- func (l *Logger) PrintError(ctx context.Context, err error, properties map[string]string)
- func (l *Logger) PrintFatal(ctx context.Context, err error, properties map[string]string)
- func (l *Logger) PrintInfo(ctx context.Context, message string, properties map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) PrintDebug ¶
PrintDebug logs a debug-level message with additional properties.
func (*Logger) PrintError ¶
PrintError logs an error message with additional properties.
func (*Logger) PrintFatal ¶
PrintFatal logs a fatal error message, adds a trace, and exits the application.
Click to show internal directories.
Click to hide internal directories.