Documentation
¶
Overview ¶
Package utils provides common utilities shared across packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debug(format string, args ...interface{})
Info(format string, args ...interface{})
Warn(format string, args ...interface{})
Error(format string, args ...interface{})
}
Logger defines a common logging interface used throughout the application
type NoopLogger ¶
type NoopLogger struct{}
NoopLogger is a logger implementation that does nothing
func (NoopLogger) Debug ¶
func (l NoopLogger) Debug(format string, args ...interface{})
func (NoopLogger) Error ¶
func (l NoopLogger) Error(format string, args ...interface{})
func (NoopLogger) Info ¶
func (l NoopLogger) Info(format string, args ...interface{})
func (NoopLogger) Warn ¶
func (l NoopLogger) Warn(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.