mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 01:34:22 +01:00
wip: refactoring
This commit is contained in:
@@ -42,7 +42,7 @@ to assist developers in writing, debugging, and understanding code directly from
|
||||
|
||||
// Setup logging
|
||||
lvl := new(slog.LevelVar)
|
||||
logger := slog.New(slog.NewTextHandler(logging.NewWriter(), &slog.HandlerOptions{
|
||||
logger := slog.New(slog.NewTextHandler(logging.NewSlogWriter(), &slog.HandlerOptions{
|
||||
Level: lvl,
|
||||
}))
|
||||
slog.SetDefault(logger)
|
||||
|
||||
Reference in New Issue
Block a user