Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
// EnableDebug turns on debug logging.
EnableDebug()
// WithPrefix returns a logger that prefixes all log entries with the
// given key-value pairs.
WithPrefix(kvs ...any) Logger
// Debug logs a debug message.
Debug(msg string, kvs ...any)
// Info logs an info message.
Info(msg string, kvs ...any)
// Error logs an error message.
Error(err error, kvs ...any)
}
Interface used by pulse to write log entries.
func ClueLogger ¶
ClueLogger adapts a clue logger to a pulse logger.
Click to show internal directories.
Click to hide internal directories.