Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶ added in v0.6.0
NewLogger returns a new logger with the given log level. If log level is empty or "silent" then the logger will be silent.
func SetupLogging ¶
SetupLogging sets up logging for the application.
Types ¶
type STUNLoggerFactory ¶
func NewSTUNLoggerFactory ¶
func NewSTUNLoggerFactory(logger *slog.Logger) *STUNLoggerFactory
func (*STUNLoggerFactory) NewLogger ¶
func (f *STUNLoggerFactory) NewLogger(scope string) logging.LeveledLogger
Click to show internal directories.
Click to hide internal directories.