mirror of
https://codeberg.org/scip/yadu.git
synced 2025-12-17 04:30:59 +01:00
Fix #7: implement AddSource flag, add as message
This commit is contained in:
@@ -35,6 +35,7 @@ func main() {
|
||||
opts := &yadu.Options{
|
||||
Level: slog.LevelDebug,
|
||||
ReplaceAttr: removeTime,
|
||||
AddSource: true,
|
||||
}
|
||||
|
||||
logger := slog.New(yadu.NewHandler(os.Stdout, opts))
|
||||
|
||||
Reference in New Issue
Block a user