diff options
| author | adamdottv <[email protected]> | 2025-05-12 09:44:56 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-12 09:44:56 -0500 |
| commit | dfe5fd8d970f76af9db0a7bf9a1e6f0bc01a291c (patch) | |
| tree | ebf8123a492626a31b7767b18a60594879cd70b0 /cmd | |
| parent | ed9fba99c9e230094ed5d468c88f81469d60c911 (diff) | |
| download | opencode-dfe5fd8d970f76af9db0a7bf9a1e6f0bc01a291c.tar.gz opencode-dfe5fd8d970f76af9db0a7bf9a1e6f0bc01a291c.zip | |
wip: refactoring
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/root.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/root.go b/cmd/root.go index 7bf8485f4..1b8c4c574 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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) |
