mirror of
https://github.com/foomo/sesamy-cli.git
synced 2025-10-16 12:35:36 +00:00
14 lines
230 B
Go
14 lines
230 B
Go
package cmd
|
|
|
|
import (
|
|
"log/slog"
|
|
)
|
|
|
|
func Logger() *slog.Logger {
|
|
// Create a new slog handler with the default PTerm logger
|
|
handler := NewSlogHandler()
|
|
|
|
// Create a new slog logger with the handler
|
|
return slog.New(handler)
|
|
}
|